Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word Text Box

Status
Not open for further replies.

mymou

Technical User
May 21, 2001
355
GB


Ho All

Here is an easy one.

How can I populate a textbox (NOT on a form - but in a document) in Word?

For tables i can use something like:
ActiveDocument.Tables(Index).Cell(row, Column).Range.Text

Any ideas?


Stew

 
Have you ever looked at Mail Merge???
You can specify an Access database, both Queries and Tables.
I like queries cause you can use Access to make a powerful form and then launch Word casue it does documentation better. But have you certian fields in Word doc that are variable and come from and Access query.
I had one applicaiton that used 75 fields in Access to a 7 page Word doc Proposal.
I wrote two FAQ's on it:
faq181-271
FAQ181-28

PS someone else wrote an FAQ on that too, but slightly different approach
faq181-453 DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 


Thanks DougP

Great FAQs.

FAQ181-453 would have been great a week ago - but i have now reinvented the wheel again!

With a very strict format and 7 queries I found all the standard methods too restrictive. I think I have used the easist method - by using a template - which holds all formatting (and tables and text boxes!) and populate each as required.

This works a treat - but is exceptionally slow. The data is there instantly - but the entry take minutes. I do not understand why this should be so slow.

I will take a closer look at FAQ181-453 to check out its speed - and any suggestions you have will be welcomed.

Thanks again.

Stew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top