accedd advanced

Forum home » Delegate support and help forum » Microsoft Access Training and help » Accedd Advanced

Accedd Advanced

resolvedResolved · 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?

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.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Access tip:

Compact database automoatically

To ensure optimal performance, you should compact and repair your

Open the Access database or Access project that you want Access to compact automatically.
On the Tools menu, click Options.
Click the General tab.
Select the Compact on Close check box.

View all Access hints and tips


Server loaded in 0.06 secs.