Posted By

pckujawa on 08/25/09


Tagged

keyboard vba word Shortcuts


Versions (?)

Scroll up or down one line at a time in MS Word (using keyboard)


 / Published in: Other
 

URL: http://www.thefreewindows.com/2287/scroll-a-microsoft-word-document-without-moving-the-cursor/

I've wanted to be able to do this for a long time, but could never figure out how. You need to create two macros and (http://answers.microsoft.com/en-us/office/forum/officeversion_other-word/how-can-i-assign-or-change-keyboard-shortcuts-to/5ea9ac54-494d-4a09-9104-91ea41f7d305)[assign them to keyboard shortcuts] (I use Ctrl+Up/Down, since they are standard in IDEs).

  1. Sub ScrollDown()
  2. '
  3. ' ScrollDown Macro
  4. '
  5. '
  6. ActiveDocument.ActiveWindow.SmallScroll Down:=1
  7. End Sub
  8. Sub ScrollUp()
  9. '
  10. ' ScrollUp Macro
  11. '
  12. '
  13. ActiveDocument.ActiveWindow.SmallScroll Up:=1
  14. End Sub

Report this snippet  

You need to login to post a comment.