![]() |
|
|
Thread Tools | Display Modes |
#6
|
|||
|
|||
![]()
ok, i have gotten it so that the information i enter on the userform in document 1 will show up as documentvariables in document 2, but it will not show up on the userform for document 2. Any thoughts? This is the code I am using right now in document1
If chxIFPOrder = True Then Set doc1 = ActiveDocument Set doc2 = Application.Documents.Add("C:\XXXX.dotm") doc2.Variables("myinitials").Value = Me.TxtYourInitials.Value End If When I do that, there is no myinitials information showing up on the userform itself in doc2, but when I hit OK on the userform in doc2, then the myinitials documentvariable populates with the myinitials information that I entered on the userform in doc1 shows up. I want the info to show up on the userform in doc2 also. Any help would be greatly appreciated! -- Mike |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
UserForm with Combo Box from data in table within template | jhansrod | Word VBA | 6 | 06-13-2019 09:02 AM |
Excel Userform to Word Template Bookmarks | JCrinage | Excel Programming | 1 | 11-02-2016 07:03 PM |
![]() |
kennyD | Word | 4 | 04-07-2015 01:32 PM |
userform to enter multiple lines of data in template | callasabra | Word VBA | 0 | 06-27-2014 05:29 PM |
How to get Outlook 2007 userform into template? | Royzer | Outlook | 0 | 04-13-2012 10:41 AM |