Go to a particular Field after a user form and marcos have all been run

J

Johnnyboy5

Graham Mayor has been very helpful to me with forms that we use in our
team and I dont want to keep bothering him so here's my lastest
question

I have a document with user form, various macros and fields in it etc

what I would like it to do after everything has been completed and the
rest of the document is ready to be typed into is for the marco to
take it a particular field ready for the typing to start.

The one I have at the moment after the user form has done its stuff is
for the cursor to be in last "user form" text box and I want it to be
in the first "blank" text form field further up the document.


hope this makes sense.

Johnny
 
S

Suzanne S. Barnhill

Your macro just needs to include a GoTo command directed to the bookmark of
that form field.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
G

Graham Mayor

I am having a quiet day. It's too hot to do much else :)
Add the following

Selection.HomeKey wdStory
ActiveDocument.FormFields("Formfieldname").Select

where formfieldnane is the field you want to select. The first line ensures
that the top of the form is displayed.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
J

Johnnyboy5

I am having a quiet day. It's too hot to do much else  :)
Add the following

Selection.HomeKey wdStory
ActiveDocument.FormFields("Formfieldname").Select

where formfieldnane is the field you want to select. The first line ensures
that the top of the form is displayed.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web sitewww.gmayor.com
Word MVP web sitehttp://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

Too hot ! you should be so lucky.

thanks

John
 
J

Johnnyboy5

Your macro just needs to include a GoTo command directed to the bookmark of
that form field.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USAhttp://word.mvps.org

Thanks will take a look.

Johnny
 

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