Skip to main content
OCLC Support

PrintMacro

Find the syntax, use, parameters, return values, and an example for the PrintMacro macro command in Connexion client.
Syntax BOOL = CS.PrintMacro (sMacroName)
Use to Print a specified macro.
Parameters For sMacroName, enter the name of the macro, enclosed in quotation marks, in the following format (do not type the brackets): [macro book name]![macro name]
Return values Sub Main()

     Dim CS As Object
     Set CS = GetObject(,“Connex.Client”)

     CS.PrintMacro “ClientMacros.mbk!Test”
End Sub

Example TRUE if the action is successful, or FALSE if not.
What this example does Prints a macro named Test in a macro book file named ClientMacros (always has the file extension .mbk)