Returns a String that represents the ready state of the active document. The readyState property determines the current state of a file being downloaded. Read-only.
expression.readyState
expression Required. An expression that returns one of the objects in the Applies To list.
The readyState property value can be one of the following values:
uninitialized | The object is not initialized with data. |
loading | The object is currently loading its data. |
interactive | The object can be interacted with even though it is not fully loaded. |
complete | The control is completely loaded. |
The following example displays the current ready state of the active document.
Sub DisplayreadyState()
'Displays the ReadyState for the current document
Dim objApp As FrontPage.Application
Dim objDoc As DispFPHTMLDocument
Set objApp = FrontPage.Application
Set objDoc = objApp.ActiveDocument
'Display ready state of current document
MsgBox "The ready state of the active document is: " & objDoc.readyState & "."
End Sub