Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cursor position in Word 2007

Status
Not open for further replies.

BlueHorizon

Instructor
Jan 16, 2003
730
US
Hi all,
I've created several Word templates with fillin fields so users can enter text via popup boxes, i.e., To:, From:, Date:, etc. After users finish the last popup, I'd like the cursor to be a certain position in the body of the document for them to start typing the body of text.

Any way to do this?
Thanks,

Best,
Blue Horizon [2thumbsup]
 
Me again - I tried using another fillin field, but some of the initial fields are in a header. The first popup seems then to be the one I want to popup last.....

Thanks in advance,


Best,
Blue Horizon [2thumbsup]
 
Could you use a bookmark? If you created a bookmark called e.g. StartHere in the document, you could then use this line of VBA code to go to it:

Code:
Selection.GoTo What:=wdGoToBookmark, Name:="StartHere"

You would need to use this code when the last popup box closes.

I hope that this helps.

Bob Stubbs (London, UK)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top