Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.Productivity Library / OfficeTools Object / CreateWordProcessingDocument Method
The text to insert into the document. If null is passed in, then a textual representation of the current host screen is used.
A template to use when creating the new document. If null, not found, or invalid, then no template is used.
A location in the templated document to insert the text. If not specified (null) or invalid, text is inserted at the beginning of the document.
In This Topic
    CreateWordProcessingDocument Method
    In This Topic
    Creates a new word-processing document.
    Syntax
    expression.CreateWordProcessingDocument( _
       ByVal text As String, _
       ByVal template As String, _
       ByVal bookmark As String _
    ) 
    where expression is a variable that represents a OfficeTools Object

    Parameters

    text
    The text to insert into the document. If null is passed in, then a textual representation of the current host screen is used.
    template
    A template to use when creating the new document. If null, not found, or invalid, then no template is used.
    bookmark
    A location in the templated document to insert the text. If not specified (null) or invalid, text is inserted at the beginning of the document.
    See Also