mseMode Property
Returns a Boolean that indicates if the current document is in MSE mode. MSE mode corresponds to the Microsoft Script Editor. If True, the document is open in Microsoft Script Editor. If False, the document is not open in Microsoft Script Editor.
expression.mseMode
*expression * Required. An expression that returns one of the objects in the Applies To list.
Example
The following example displays a message to the user indicating if the active document is open in Microsoft Script Editor.
Sub DisplayMsemode()
If ActiveDocument.mseMode = False Then
MsgBox "The current document is not in open in Microsoft Script Editor."
Else
MsgBox "The current document is open in Microsoft Script Editor."
End If
End Sub
Applies to | FPHTMLDocument Object | IFPDocument Object | IFPDocument Object