![]() |
#10
|
||||
|
||||
![]()
You are mixing techniques here. Either bookmarks or docvariables can be used. Your originally quoted macro used docvariables. FillBM is for bookmarks.
To reproduce the values in your document use Docvariable fields i.e. Type CTRL+F9 to give you {} then between type { DOCVARIABLE var1 }. When the macro is run that field will display the value you entered in the associated text box. If instead you were using bookmarks, then but a bookmark (say) bm1 where you want the information displayed then call the function from the userform e.g. FillBM "bm1", Me.TextBox1.Text to write the cointent of the text box to the bookmarked location.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to replace a letter to random letter with different color? | cikanoz87 | Word | 7 | 06-18-2015 09:43 PM |
![]() |
ketanco | Project | 1 | 07-19-2014 12:01 PM |
![]() |
John P | Word | 1 | 05-31-2012 10:29 PM |
Generating Buy/Sell signals accordingly... | babapusy | Excel | 0 | 04-14-2012 10:11 AM |
MS Word 2003 – Generating a ToC | krazykasper | Word | 1 | 04-29-2009 02:44 PM |