N
Newbie
In searching the web for a method to print out macro definitions, I
found this code from allen Browne to print out query definitions. Is
there a similar way to print out macros?
Public Function ShowAllQueries()
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Set db = CurrentDb()
For Each qdf In db.QueryDefs
Debug.Print qdf.Name, qdf.SQL
Next
End Function
In other words, does DAO or some other object expose something like a
MacroDef, similar to a QueryDef?
Thank you.
found this code from allen Browne to print out query definitions. Is
there a similar way to print out macros?
Public Function ShowAllQueries()
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Set db = CurrentDb()
For Each qdf In db.QueryDefs
Debug.Print qdf.Name, qdf.SQL
Next
End Function
In other words, does DAO or some other object expose something like a
MacroDef, similar to a QueryDef?
Thank you.