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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

word macro help

Status
Not open for further replies.

welshone

Programmer
Jul 30, 2001
414
GB
hello,
how can move the cursor in a macro to the first fillin box ?I am using Word 2000

hope that makes sense ?

thanks,
W.
 
Skip, thanks for your reply,
unfortunately I am not using forms.
I have created a template, then added some fillin boxes to the template.

Is there anyway you can move to first fillin box using VBA ?
 
I am not sure you understood Skip's question. If your template has "fill-in boxes" it sounds like you mean formfields (as opposed to UserForms). Please clarify.

In VBA, to bring focus, use the SetFocus.property of the control object you want to focus on. This works for prety much all controls - textboxes, checkboxes etc.

Just to clarify, on your template are you protecting the sections with the "fill-in forms"? If so, this would be different from using VBA go move through specific fill in text fields.




Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top