Access can convert macros to VBA code for you.
With a form open in design view, go to Tools | Macors.
Or select the macro in the Database window, and go to File | Save As.
Look under help for "convert macors" for more info.
The converted macro does have error handling, so it's better than the macro,
but it's still pretty woeful compared with well-designed code.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Ed Hawley" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a good way to convert macros to VB when you do not remember how
> to program in VB. I am continually running into problems with the macros,
> because of security issues, with the systems on which the database is run.
> I would like to change them and eliminate the problem. Any suggestions
> would help.
>
> Thanks!
> Ed