![]() |
#1
|
|||
|
|||
![]()
Hi, I am trying to write some simple code in VBA to use user forms to auto fill text in a Word document.
I have created bookmarks in the Word document and text boxes on the User form but when I click the OK command button nothing happens. this is the code I have written:- Private Sub cmdOK_Click() With ActiveDocument .Bookmarks("BorrowerName").Range.Text = txtBorrowerName.Value End With Any help would be gratefully received |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
benjii19 | Word | 1 | 12-29-2015 11:49 AM |
Problems with filling in forms | Gijs Verhoeff | Word | 0 | 09-24-2015 03:29 AM |
Automate filling in PDF Forms from Word? | dlowrey | Word | 5 | 09-23-2014 10:12 PM |
filling in forms | mepossem | Word | 3 | 05-25-2013 02:35 AM |
![]() |
wordy | Word | 1 | 07-31-2012 12:16 PM |