Creates a new word-processing document.
Syntax
|
---|
object.CreateWordProcessingDocument(
ByVal text As String,
ByVal template As String,
ByVal bookmark As String
)
|
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