![]() |
|
#1
|
|||
|
|||
![]()
Paul,
Here your code moved down the page lines but only displays the cursor at the start of the line. I'm not sure if the line should be selected or not. If so, this alteration of your code does that. Code:
Sub Demo() Dim Rng As Range, Start Const Pause As Long = 2# Recycle: With ActiveDocument.Range Set Rng = .Characters.First Do While Rng.End < .End - 1 Start = Timer Do While Timer < Start + Pause DoEvents ' Yield to other processes. Set Rng = Rng.GoTo(What:=wdGoToBookmark, Name:="\Line") Rng.Select Loop If Rng.End = .End - 1 Then GoTo Recycle Rng.Collapse wdCollapseEnd Loop End With End Sub |
![]() |
Tags |
scrolling |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Albus | Word | 12 | 12-12-2014 01:36 PM |
Page does not actively scroll with click, hold and drag on scroll-bar | jbax | Word | 1 | 05-09-2013 07:16 PM |
![]() |
markpete | Word | 3 | 11-16-2012 03:10 AM |
![]() |
SQLUSA | Word | 3 | 08-16-2012 02:40 PM |
Scroll Box | john_prince | Word | 0 | 02-01-2011 03:22 PM |