Visual Basic Reference
UserDocument Object
See Also Example Properties Methods Events
The base object of an ActiveX document, the UserDocument object resembles a standard Visual Basic Form object with some exceptions.
Remarks
The UserDocument object has most, but not all, of the events that are found on a Form object. The events present on a Form that are not found on the UserDocument include: Activate, Deactivate, LinkClose, LinkError, LinkExecute, LinkOpen, Load, QueryUnload, and Unload events.
Events present on the UserDocument, but not found on a Form object include: AsyncReadComplete, EnterFocus, ExitFocus, Hide, InitProperties, ReadProperties, Scroll, Show, and WriteProperties events.
You cannot place embedded objects (such as an Excel or Word document) or an OLE Container control on a UserDocument.