View Single Post
 
Old 08-06-2019, 06:43 AM
coolguyz coolguyz is offline Windows 10 Office 2019
Novice
 
Join Date: Aug 2019
Posts: 3
coolguyz is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
Try something like this
ActiveDocument.ActiveWindow.ActivePane.AutoScroll Velocity:=20
OK I figured it out. But that scrolls down. I wanted it to emulate pressing the right arrow key.

I found something that says it is "vbKeyRight" here Keycode constants | Microsoft Docs

But I cannot figure out how to execute this.
Reply With Quote