![]() |
|
|
Thread Tools | Display Modes |
#6
|
|||
|
|||
![]()
Yes you need to put targets (bookmarks, table cells, content controls) in your target document template. Lets say you rename LaborAuthorizationForm.docm as LaborAuthorizationForm.dotm and in it you have a content control titled "Employee Name"
Replace MsgBox EmpNameList.List(lngIndex, 0) oDoc.SelectionContentControlsByTitle("Employee Name").Item(1).Range.Text = EmpNameList.List(lngIndex, 0) |
Tags |
combo box, forms vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
CactusWren | Word | 5 | 08-31-2015 11:22 AM |
how to save contents in textbox in VB2013 form into a Word document? | saltlakebuffalo | Word VBA | 6 | 12-10-2014 06:12 PM |
![]() |
lms | Outlook | 4 | 07-03-2013 08:34 AM |
![]() |
IvanGeorgiev | Word VBA | 1 | 02-21-2013 07:28 PM |
Textbox updating from combobox selection | paxile2k | Word VBA | 0 | 10-26-2010 02:30 PM |