View Single Post
  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Charles Kenyon
 
Posts: n/a
Default automating a document

http://gregmaxey.mvps.org/Repeating_Data.htm

--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"Jezebel" wrote in message
...
Which 'field codes' do you have in mind? - there are dozens.But neither
bookmarks nor field codes are options for replacing text (do you mean
'duplicating' ?). Neither can be kept outside the document.

I *think* you're asking about methods for repeating text through the
document. The two common methods are --

1) Bookmark the first instance and use REF fields thereafter.

2) Add the information as document properties or document variables, then
use DocProperty or DocVariable fields to display the text in the document.

There are pros and cons to both methods; the choice depends on what you
are trying to do.





"keats" wrote in message
...
so delicately put, jezebel.

"bookmarks and field codes are options for replacing text. here are my
questions. which are easier to use and where should they be kept. Inside
the document (i.e. input pages at front of document) or external (another
word document or another office progam (such as access)."


"keats" wrote:

i am interested in finding the most efficient way to automate a
document. my
document is actually a model or format document. the dynamic language
in the
document is either text or numbers (math cacluations).

i want to use something a bit more powerful than search and replace for
the
text changes. i realize bookmarks and field codes are options. here
are my
questions. which are easier to use and where should they be kept.
Inside
the document (i.e. input pages at front of document) or external
(another
word document or another office progam (such as access).

second, for the numerical replacements, in the past, I have calculated
these
in excel, then had manually enterered them into an access database,
whereby
they were "merged" into my source document. the problem here is I was
retyping much of the workbook or spreadsheet data more than once. I
have
pretty much decided to group calculations in my document and just paste
special or paste special link from my workbooks into the document.

in summary, i am changing a lot of similar text fields and a lot of
similar
number fields in my document and i just want to type the change in one
place.
i would like to graduate from search and replace, so should i consider
bookmarks or field codes in a merge document?

thanks for your input.