Windows.SyncScrollingSideBySide property (Word)

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 object.

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

Windows Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.