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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto fill contracts

Status
Not open for further replies.

rry2k

Programmer
Jun 28, 2001
678
US
Hi,
I have several contracts that were written in Word.
Is there a way to open a Word document from VB then autofill the fields maybe based on a form that is filled out in VB. The contracts/start forms are for employment with alot of redundant info.

Thanks..Russ
 
Sure! Do a search in this forum for the text "Word.Application" (without the quotes). This should give you plenty of sample of how to use Word from VB. As far as filling in the info, it would depend on how you have setup the document template. Using named fields is real simple and you can get sample code by recording a macro and manually entering text.
 
Thanks,

Your right there is tons of info here. It will definately get me going.

Russ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top