Microsoft Access VBA Programming for the Absolute Beginner

Runs a macro.

Syntax

DoCmd.RunMacro MacroName[, RepeatCount][, RepeatExpression]

with the following parameters:

MacroName

A String defining the name of the macro in the current database to run.

RepeatCount

An Integer indicating the number of times the macro is to run.

RepeatExpression

A numeric expression that causes the macro to terminate when it evaluates to 0 (or False).

Comments

Категории