set curser

B

bene

Hi-
Is there a way to set the curser in Word???
I have a document which has the tracking turned on - it
is used as a department log file for a 24/7 position.

They are to always start typing on line 13 - so the new
info is on top. Is there a way that I can force the
curser to line 13 col 1 everytime the file is opened or
refreshed. I've looked for some kind of "SET" command
for vb, but no luck...

Any ideas would be appreciated.

thanks - Cindy
 
P

Peter Hewett

Hi bene

Just add the following code to the Document_New/Document_Open procedures:

Public Sub GotoLine13()
Selection.GoTo wdGoToLine, wdGoToFirst, 13, ""
End Sub

I'm not nut's about using the GoTo method but it effective in this instance.

HTH + Cheers - Peter
 

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