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 in MSE mode. If False, the document is not in MSE Mode. Read-only.
expression.mseMode
expression Required. An expression that returns a DispFPHTMLDocument object.
The following example displays a message to the user indicating if the document is in MSE mode.
Sub DisplayMsemode()
'Displays the MSE mode of the current document
Dim objApp As FrontPage.Application
Dim objDoc As DispFPHTMLDocument
Set objApp = FrontPage.Application
Set objDoc = objApp.ActiveDocument
'Display msemode
If objDoc.mseMode = False Then
MsgBox "The current document is not in MSE mode."
Else
MsgBox "The current document is in MSE mode."
End If
End Sub