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

  • Thread starter Thread starter Johnnyboy5
  • Start date Start date
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
 
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
 
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

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
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
 
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
 
Back
Top