Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-13-2011, 04:44 AM
SaneMan SaneMan is offline How to link userform to another word document Windows 98/ME How to link userform to another word document Office 2003
Novice
How to link userform to another word document
 
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
 



Similar Threads
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
How to link userform to another word document Setting focus to specific word document from UserForm SaneMan Word VBA 5 04-01-2011 03:11 PM
How to link userform to another word document Checkbox on Userform result in Text in Word 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

Other Forums: Access Forums

All times are GMT -7. The time now is 04:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft