Ví dụ về việc sử dụng The macro name trong Tiếng anh và bản dịch của chúng sang Tiếng việt
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
Enter the macro name in an Event property of an object.
Note- The first character of the macro name must be a letter.
The macro name appears on the same line as the macro's first action.
Access searches both the macro names and their descriptions for the text you enter.
A Each macro starts with a Sub reference followed by the macro name we assigned.
Make sure to display the Macro Name column and type a unique name for each macro. .
In the Display name box, type the macro name that you want to display.
In the Macro Name column, type a name for the first macro in the macro group.
For example, the following instance of the RunMacro method runs the macro named My Macro: .
Type the name of the macro in the Macro Name column in the first row of the macro. .
In the Macro Name column, enter the text that you want to display on the shortcut menu(for example,"Print report" or"Save").
Move to the next empty row,and then type a name for the next macro in the Macro Name column.
This setting applies to all databases, but you can use the Macro Names command to turn off this setting for the current macro. .
If the Macro Name column is not visible in the Macro Builder, click Macro Names in the Show/Hide group on the Design tab.
You can run multiple macros from a button by entering the macro names on separate lines inside the subprocedure.
Move to the Macro Name column of the next empty row, and then type a name for the next macro in the macro group.
You can run multiple macros from a button by typing the macro names on separate lines inside the sub procedure.
In a list of macros, such as the Macro Name argument list for the RunMacro action, Access displays the Products macro as Buttons. Products.
Note: To create a line between two menu commands,type a hyphen(-) in the Macro Name column between the appropriate menu commands.
In a list of macros, such as the Macro Name argument list for the RunMacro action, Access displays the Products macro as Buttons. Products.
If you use a macro name that is also a cell reference,you may get an error message that the macro name is not valid.
The Macro Name box in the Action Arguments section of the macro design window shows all macros(and macro groups) in the current database.
On the Database Tools tab, in the Macro group, click Run Macro, click the macro in the Macro Name list, and then click OK.
Optionally, enter a name for the macro in the Macro name box, enter a shortcut key in the Shortcut key box, and a description in the Description box, and then click OK to start recording.
To add the RunMacro action to a macro, click RunMacro in the action list in a blank action row,and then set the Macro Name argument to the name of the macro that you want to run.