View Single Post
 
Old 10-13-2011, 04:44 AM
SaneMan SaneMan is offline Windows 98/ME Office 2003
Novice
 
Join Date: Jan 2011
Posts: 20
SaneMan is on a distinguished road
Default How to link userform to another word document

Hello

I have created a userform which will be used by various people. The userform contains fields which the user will fill in to create DocVariables which are contained in the word document behind the form. This all works fine.

However, I want the userform to populate various letters. The user will click on a command button which will find and open various letter templates which are populated with DocVariable fields.

The problem is, when the userform opens these letters the docvariables are not populating and I get the 'Error! No document variable supplied.' message.

I somehow need to get the letter that the userform opens to look at the userform variables and populate the active links with those variables, but try as I might I have no been able to figure out how to do it.

Any help would be much appreciated.

Thanks.
Reply With Quote