![]() |
|
#8
|
||||
|
||||
|
If you add the FillBM function that I pointed to in my earlier post you can simply call it as required to fill your document bookmarks (provided they don't overlap) e.g.
Code:
Private Sub CommandButton1_Click()
Me.Hide
FillBM "RepTitle", Me.TextBox1.Text
FillBM "ReportDate", Me.TextBox2.Text
FillBM "Client", Me.TextBox3.Text
'etc
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
| Tags |
| template, userform, vba |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
VBA using Building Blocks to build document
|
kintap | Word VBA | 2 | 07-11-2014 10:56 AM |
| Create a Form to Build a Document | Wordsquirrel | Word VBA | 7 | 05-16-2014 10:33 AM |
One document build from subfiles
|
duckman | Word | 3 | 03-04-2014 10:12 AM |
Automatic update of links in template - closing attached template without saving
|
stefaan | Word | 2 | 11-02-2013 07:46 AM |