![]() |
|
#1
|
||||
|
||||
![]()
Given that you have two CommandButton1_Click subs, it's hardly surprising it doesn't work. You need to sort out which CommandButton each relates to.
As for your first CommandButton1_Click sub, you don't need any of your Dim statements and lines like: Set bmdate = ActiveDocument.Bookmarks("bmdate").Range bmdate.Text = Me.TextBox1.Value These could all be reduced to lines like: Call UpdateBookmark("bmdate", TextBox1.Value)
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
form, multi drop down |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
spk | Word VBA | 43 | 07-31-2022 03:51 PM |
![]() |
trainsy | Word | 2 | 06-04-2014 04:43 AM |
block selection in dropdown list | Intruder | Excel | 2 | 01-10-2013 10:20 AM |
![]() |
coconutt | Word VBA | 5 | 09-13-2012 05:23 PM |
![]() |
biffle0764 | Word | 2 | 05-09-2012 12:54 PM |