Forum home » Delegate support and help forum » Microsoft Access Training and help » Accedd Advanced
Accedd Advanced
Resolved · Low Priority · Version Standard
Robert has attended:
Access Advanced course
Accedd Advanced
I heard that you can convert Macros in Access into VBA code. Do you know how I can do this?
For upcoming training course dates see: Pricing & availability
RE: Access Advanced
Hi Robert,
Macros are created using VBA, if you just record a Macro then Access will write the VBA code behind the scenes. You can get to the code in the VBA editor within Access. You will not need to convert anything at all.
Hope this helps
David
RE: Access Advanced
Hi David,
Sorry but there doesn't be a way to 'record' macros in Access. Furthermore, unlike in Excel, Access doesn't show the macros you create in the VBA editor.
Any other ideas?
RE: Access Advanced
Robert,
My mistake. In Access you will have to write the Macro yourself using VBA code. Thus you can just view the macro code in the VBA editor.
Hope this helps
David
RE: Access Advanced
Thanks David,
But I found an easier way of doing this.
If you create an Access macro and then go to File and Save As, and then choose "Module" from the 'As' drop-down list, Access will create the code for you.
|
