Re: Trying to automate data entry in word
- From: "Peter Jamieson" <pjj@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Jun 2007 15:44:13 +0100
One thing you can consider is to use ASK fields only and put them all at the beginning, nested inside an IF field:
{ IF firsttime = 1 "{ ASK bookmarka "prompt..." }{ ASK bookmarkb "prompt..." }etc." }{ SET firsttime 0 }
But before you save the doc, change that final 0 to 1, execute the SET field, then change the value back to 0
When the user opens the document, they have to know to do ctrl-A then F9. The ASK fields should execute and all REFs (In the main body of the document) that refer to their bookmarks should then be updated. firsttime is set to 0 so the nect time the user does ctrl-A, F9, no ASK fields are executed.
To re-execute the ASKs the user would either have to know how to modify that firsttime value again, then do ctrl-A, F9
I've never actually done it that way (I think it's better to use a userform to set either bookmarks, document variables, or document properties) and it requires more user knowledge than I'd prefer to rely on, but it doesn't need any macros and is perhaps worth a try.
Peter Jamieson
"piersonal" <piersonal@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:AF91826A-358A-4D29-A968-562A2E0D4AC2@xxxxxxxxxxxxxxxx
I am trying to assemble a template doc so that when a new document is created
the user types in just the once the customer name and for the document to
then populate the various places that this information is needed. So
bookmarks seemed to be the answer, but once entered, I don't want the user to
be prompted for it again as it does with ask and fillin fields. Hope I am
missing something here!!!
One idea I had was to have a non printing page at the beginning containing a
list of variables such as name, customer, version number, date etc so that
these could be referenced to around the document. Is this possible??? Not a
big VB man, so hoping it doesn't come to that!!!
.
- Prev by Date: Re: Trying to automate data entry in word
- Next by Date: Re: Trying to automate data entry in word
- Previous by thread: Re: Trying to automate data entry in word
- Next by thread: Re: Trying to automate data entry in word
- Index(es):
Relevant Pages
|