Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to trace macros?

Status
Not open for further replies.

sudakov

Programmer
Jun 17, 2007
53
US
Hello,
I have inherited a DB where most of programming is done using MACROS, not code.
I receive an error during execution.

Does anyone know how to trace macros?

Thanks.
sudakov
 

Aren't MACROS just pieces of code? Hit Alt-F11 and look if you can find the code for the macros.

Or, instead of macro - Run... click: Edit.

Have fun.

---- Andy
 
Macros won't show up in the VB Editor, Andy.
But you can of course click "Tools-->Macros-->Convert macro to Visual Basic".
After that it'll be normal code and you can debug it like any other code snippet...
;-)

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 

In the help files, search for Convert macro to code.

Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top