次の方法で共有


Windows.SyncScrollingSideBySide Property

Word Developer Reference

True enables scrolling the contents of the windows at the same time. Read/write Boolean.

Syntax

expression.SyncScrollingSideBySide

expression   An expression that returns a Windows collection.

Remarks

False disables scrolling the windows at the same time.

Example

The following example enables scrolling of adjacent windows at the same time.

Visual Basic for Applications
  Dim objDoc1 As Word.Document
Dim objDoc2 As Word.Document
    
Set objDoc1 = Documents.Add
Set objDoc2 = Documents.Add

objDoc2.Activate objDoc2.Windows.CompareSideBySideWith objDoc1 Windows.ResetPositionsSideBySide Windows.SyncScrollingSideBySide = True

See Also