Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2005

Tip: Looking for answers? Try searching our database.

fill-in field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CuriousClipArt - 28 Dec 2005 17:56 GMT
I have a simple fill-in template and once the info has been filled in at the
top of the document, I want to cursor to move down to the first hard return
in the template.  How do I make that happen??
Cindy M  -WordMVP- - 29 Dec 2005 15:03 GMT
Hi =?Utf-8?B?Q3VyaW91c0NsaXBBcnQ=?=,

> I have a simple fill-in template and once the info has been filled in at the
> top of the document, I want to cursor to move down to the first hard return
> in the template.

In this case, I'd use ASK fields rather than Fillin fields. Put a macro named
AutoOpen in the document that

1. updates the fields

2. positions the cursor

Roughly:

Sub AutoOpen()
   ActiveDocument.Fields.Update
   ActiveDocument.Paragraphs(2).Select
   Selection.Collapse
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.