Anybody else find it annoying that Microsoft Word doesn’t have a built-in function to scroll a document without moving the cursor? Well, no worries. Thanks to
this guy there is a solution. Six lines of code, a couple keyboard shortcuts, and you’re good to go. Only thing I noticed is that I had to fully qualify “ActiveDocument.ActiveWindow” in order for it to work. (See screenshot below.) But then I thought, wouldn’t it be cool if the code and keyboard shortcuts could be added automatically? Yes, I decided, that would be pretty cool. So I wrote
this handy-dandy VBS script to do just that. The only hang up with using it is that you have to explicitly tell Word to allow the script to run. (Don’t worry, all this amounts to is checking a box.) Here are instructions for Word
2010,
2007, and
2003. The guidelines for 2003 should apply to most earlier versions as well, unless you’re still using Office 95 in which case, by god, upgrade already! After running my script, I strongly recommend you turn that function back off. It’s there to protect you from uncool code which can make your life miserable. Couple other fyi’s: (1) The script won’t work while Word is running, so be sure to exit Word first. (2) If you later decide you want to remove the code, just re-run the script. It will delete the code. (Or you can just delete it manually; it’s easy. See below.) (3) If you already have custom keyboard shortcuts in Word for Ctrl + Up and/or Ctrl + Down, they will be overwritten by my script.
If those warnings were too scary for you, you can easily add the code and keyboard shortcuts manually. Open Word, then press Alt + F11 to open the code editor. You’ll see a tree diagram on the left with a node that says “Normal” and a subnode under it called “ThisDocument”. This refers to the Normal template, which is the default template for Word documents. Double click “ThisDocument” to make sure you have the correct code window open, then just paste those six lines into the window as shown in the screen shot below (“Option Explicit” isn’t necessary) and click the save button in the upper left. (It’s the little disk icon, third from the left.) You’re done coding! Now you just need to add the keyboard shortcuts. Here are general instructions for creating keyboard shortcuts in Word 2010, 2007 (top half of the page), and 2003 (bottom half of the page). Ditto on the “earlier than 2003” comment I made above. Create shortcuts for both the ScrollUp and ScrollDown macros and you should be good to go.

I read this whole post and I don’t understand what this script is supposed to do. Make Word scroll? Like, what happens when I scroll the mouse wheel? It seems to work okay. Most of your scripts are really useful, and this one probably is too. But I am not sure. What does it do?
@Jeff Yeah, it basically mimics what happens when you scroll with your mouse: the cursor remains stationary, but the document itself moves up or down. As with a lot of my scripts, it’s part of an effort to use my mouse as little as possible. Especially when doing something as keyboard-centric as composing a document in Word. For example, if I’m editing a paragraph that’s near the bottom of my screen such that only the top half of the paragraph is visible, I’d rather use my keyboard to scroll the bottom half of the paragraph into view — without repositioning the cursor — then continue with my editing. The alternative is to down-arrow past the last visible sentence until the entire paragraph is fully in view, then up-arrowing back to where I was originally editing. Make sense?
Thanks you! That is what i’m looking for.
Thank you! This was a 2 minute solution to a really annoying limitation in Word! (And Google found this post really easily!)
Sure thing, dude!
I might have done something wrong b/c the keyboard scrolling didn’t work. What keyboard shortcut did you use after you added the coding? I tried adding Ctrl+/ (the prefix key.
Hey, never mind, I just figured it out–when you add the keyboard shortcut after the coding, you have to do it from the Macros menu. I ended up choosing Ctrl+8 and Ctrl+9 for the Scroll Down and Scroll Up commands. Thanks for the tip!
Hey Rob,
Sorry for the delayed response, I was out of town the past few days. Glad you got it figured out… maybe I should clarify that point in my post.
Nick
Bless you!!!! I do transcription and was going nuts having to use the mouse to scroll my text up so I wouldn’t have to keep looking at the bottom of the Word window. Works like a charm! I’m also trying to get all the necessary shortcuts into my brain since I’m dealing with carpal pain and it helps to eliminate as much mouse use as possible.
Very happy recipient! :)
Hi, Anyone know how I can press ‘Cntrl’ and scroll the mouse to make the screen expand or contract?
My MS Office suddenly ‘lost’ that ability ;(
I cannot seem to find any setting to correct this.. ;(