Is it possible to "freeze" the cursor position in the middle of apage?

E

ehamiter

Ideally, I would like to have the cursor's position frozen in the
middle of a page, and as I edit/type the document, the pages will
scroll up line by line instead of the cursor moving down. Does that
make sense? I don't know if it's possible, and I haven't found much
luck searching the newsgroups using "cursor frozen fixed position,"
etc.

The reason why is because I am deleting several lines at a time in a
huge document, and when the cursor reaches the bottom of the page, I
have to use the mouse to scroll back up to give me enough room to see
what I'm deleting.

I am using Word 2003 on Windows XP. Thanks!
 
H

Herb Tyson [MVP]

I don't know of anything that will automatically keep the focus in the
middle of the screen, which appears to be what you want. To avoid having to
use the mouse to recenter, my own solution was to assign the mouse scrolling
actions for up/down to keyboard combinations.

For me... the most logical assignments were to Ctrl+Alt+Shift+Up and Down.
So... when I press Ctrl+Alt+Shift+Down, it's the same as if I'd clicked the
bottom of the vertical scroll bar. When I press Ctrl+Alt+Shift+Up, it's the
same as if I'd clicked the top of the vertical scroll bar.

Hence, when my cursor reaches the bottom of the window, I can press
Ctrl+Shift+Alt+Down to nudge the current cursor location up to where I want
it. Similarly, if I'm at the top of the window, I can press
Ctrl+Shift+Alt+Up to nudge the cursor location back down to the middle of
the window.

I enabled this by creating two simple macros, and then assigning them to the
respective keystrokes:

For Up:

Public Sub MAIN()
WordBasic.VLine -1
End Sub


For Down:

Public Sub MAIN()
WordBasic.VLine 1
End Sub

If you know it's always going to take 10 nudges, you could replace the 1
with 10.

Hope this helps...
 
E

ehamiter

I don't know of anything that will automatically keep the focus in the
middle of the screen, which appears to be what you want. To avoid having to
use the mouse to recenter, my own solution was to assign the mouse scrolling
actions for up/down to keyboard combinations.

For me... the most logical assignments were to Ctrl+Alt+Shift+Up and Down.
So... when I press Ctrl+Alt+Shift+Down, it's the same as if I'd clicked the
bottom of the vertical scroll bar. When I press Ctrl+Alt+Shift+Up, it's the
same as if I'd clicked the top of the vertical scroll bar.

Hence, when my cursor reaches the bottom of the window, I can press
Ctrl+Shift+Alt+Down to nudge the current cursor location up to where I want
it. Similarly, if I'm at the top of the window, I can press
Ctrl+Shift+Alt+Up to nudge the cursor location back down to the middle of
the window.

I enabled this by creating two simple macros, and then assigning them to the
respective keystrokes:

For Up:

Public Sub MAIN()
WordBasic.VLine -1
End Sub

For Down:

Public Sub MAIN()
WordBasic.VLine 1
End Sub

If you know it's always going to take 10 nudges, you could replace the 1
with 10.

Hope this helps...

Yes, ideally having the focus always stay on one line in the center
would be great, but the workaround you posted will do the job just
fine. Thanks very much!

Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top