Windows.CompareSideBySideWith Method
Word Developer Reference |
Opens two windows in side by side mode. Returns a Boolean.
Syntax
expression.CompareSideBySideWith(Document)
expression Required. A variable that represents a Windows collection.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Document | Required | Variant | The document to view in side by side windows. |
Return Value
Boolean
Remarks
You cannot use the CompareSideBySideWith method with the Application object or the ActiveDocument property.
Example
The following example places two new documents in adjacent windows.
Visual Basic for Applications |
---|
|
See Also