![]() |
#1
|
|||
|
|||
![]()
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. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word doc bug when closing from userform command button click macro | Joe Patrick | Word | 1 | 07-05-2011 08:53 PM |
![]() |
SaneMan | Word VBA | 5 | 04-01-2011 03:11 PM |
![]() |
Dolfie_twee | Word VBA | 1 | 06-22-2010 07:54 AM |
[Word 2003] Macro's and a UserForm | xanuex | Word VBA | 0 | 10-19-2009 05:42 AM |
How to link text from one document to another | nospamforyou | Word | 0 | 10-09-2008 09:14 AM |