![]() |
#4
|
||||
|
||||
![]()
It's all pretty basic, really. Assuming companyname is either the name of a textbox on your userform or a string variable's name (you don't say what it is), your code should be:
Code:
Private Sub CommandButton1_Click() Call UpdateBookmark("companyname", companyname) End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
bookmark, cross reference, vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update Bookmarks from a Userform | alshcover | Word VBA | 12 | 01-12-2015 06:53 PM |
Cross-referencing Bookmarks and Formatting | kd12 | Word | 6 | 06-09-2014 09:20 PM |
![]() |
khaines | Word | 7 | 03-15-2012 03:25 AM |
Cross-referencing figure in Word 2003 - Problem | ultimateguy | Word | 0 | 07-30-2009 12:37 PM |
Cross referencing | maltesedog | Word | 0 | 02-13-2009 07:43 AM |