|
Forum home »
Delegate support and help forum »
Microsoft Access Training and help » Accedd Advanced
Accedd Advanced
The UK's most regular instructor-led training courses.
Training information: microsoft access training
· Microsoft access courses
· Microsoft Access Training See also
· microsoft access training
· access vba courses
· access database course Resolved · Low Priority · Version Standard
Accedd Advanced
by - delegate Robert [3 posts] (2008 Feb 13 Wed, 16:25) Reply
I heard that you can convert Macros in Access into VBA code. Do you know how I can do this?
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
by - delegate Robert [3 posts] (2008 Feb 15 Fri, 11:33) Reply
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
by - delegate Robert [3 posts] (2008 Feb 18 Mon, 11:54) Reply
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.
|