Compartilhar via


SyncScrollingSideBySide Property

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.

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

Concepts

Windows Collection Object

Windows Object Members