Syntax
InsertSubdocument .Name = text [, .ConfirmConversions = number] [, .ReadOnly = number] [, .PasswordDoc = text] [, .PasswordDot = text] [, .Revert = number] [, .WritePasswordDoc = text] [, .WritePasswordDot = text]
Remarks
Adds the specified file as a subdocument in the active master document. If the active document is not in outline or master document view, an error occurs. For argument descriptions, see FileOpen.
Example
This example adds the document SUB1.DOC to the beginning of the active document as a read-only, or locked, subdocument. On the Macintosh, substitute a path such as HD:MY DOCS:SUBDOC 1.
StartOfDocument ViewMasterDocument InsertSubdocument .Name = "C:\MYDOCS\SUB1.DOC", .ReadOnly = 1
See Also
CreateSubdocument, FileOpen, MergeSubdocument, OpenSubdocument, RemoveSubdocument, SplitSubdocument, ViewMasterDocument