Description

Prints a message to the output window.

Return Type

None  

Syntax

object.PrintMessage Message, [NewLine], [Page]

The PrintMessage Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McOutput.
MessageRequired. A String value.

The message string to be printed.

NewLineOptional. A Boolean value.

If True (default), the message will be followed by a new line.

PageOptional. A Variant value.

If not Empty, refers to the page where the message should be displayed. If Empty, the message will go to the page named “Output”.

Remarks

The Page parameter refers to one of the pages of the “Output” tabbed dialog. The collection of these pages is exposed as Dialogs("Output").Pages.