Convert Macro
acCmdConvertMacrosToVisualBasic
Selects a macro and creates a Module for it.
'***************** Code Start *******************
'Code by Terry Wickenden
Function ConvertMacro(strMacro as String)
DoCmd.SelectObject acMacro, strMacro, True
DoCmd.RunCommand acCmdConvertMacrosToVisualBasic
End Function
'****************** Code End ********************