Description
Returns the currently active sheet in an MDI frame window.
Controls
MDI frame windows
Syntax
mdiframewindow.GetActiveSheet ( )
Argument Description
mdiframewindow The MDI frame window for which you want the active sheet
Return value
Window. Returns the sheet that is currently active in mdiframewindow. If no sheet is active, GetActiveSheet returns an invalid value. If mdiframewindow is NULL, GetActiveSheet returns NULL.
Usage
Use the IsValid function to determine whether GetActiveSheet has returned a valid window value.