Argument | Description |
modulename | A string expression that's the valid name of the Visual Basic module you want to open. If you leave this argument blank, Microsoft Access searches all the standard modules in the database for the procedure you selected with the procedurename argument and opens the module containing the procedure to that procedure. |
If you execute Visual Basic code containing the OpenModule method in a library database, Microsoft Access looks for the module with this name first in the library database, then in the current database. |
procedurename | A string expression that's the valid name for the procedure you want to open the module to. If you leave this argument blank, the module opens to the Declarations section. |
DoCmd.OpenModule "Utility Functions","IsLoaded"