orbian
06-03-2009, 03:50 AM
I am currently trying to convert Macro's to VBA code using the following:
DoCmd.RunCommand acCmdConvertMacrosToVisualBasic
This works fine, but I am then presented with a message box asking if I wish to do the following:-
'Add error handling to generated functions'
'Include macro comments'
So my question is, how can I disable this box? Im actually using Access to create a tool that will import Macro's from an external database and then convert the imported Macro's into VBA code. I am not interested in adding error handling or include the Macro comments. This tool could be used by a number of people and as Error Handling and Comments are not relevant to the tool functionality, I do not want the user to be presented with these options.
Thanks - Orbian
DoCmd.RunCommand acCmdConvertMacrosToVisualBasic
This works fine, but I am then presented with a message box asking if I wish to do the following:-
'Add error handling to generated functions'
'Include macro comments'
So my question is, how can I disable this box? Im actually using Access to create a tool that will import Macro's from an external database and then convert the imported Macro's into VBA code. I am not interested in adding error handling or include the Macro comments. This tool could be used by a number of people and as Error Handling and Comments are not relevant to the tool functionality, I do not want the user to be presented with these options.
Thanks - Orbian