Microsoft Access VBA Programming for the Absolute Beginner
Opens a code module.
Syntax
DoCmd.OpenModule [ModuleName][, ProcedureName]
with the following parameters:
ModuleName
The name of the module to open.
ProcedureName
The name of the procedure to display in the window.
Comments
-
Though both arguments are optional, one must be included.
-
If ModuleName is omitted, Access searches all standard code modules in the database for ProcedureName.
-
If ProcedureName is not provided, Access opens the code module to the declarations section.
-
You might use this method to automate opening code modules while programming. You would rarely, if ever, want it to run in code executed by end-users.
Категории