![]() |
|
#1
|
||||
|
||||
![]()
You could, of course, use something like:
Code:
Private Sub Document_ContentControlOnExit(ByVal CCtrl As ContentControl, Cancel As Boolean) With CCtrl If .Title = "Dropdown1" Then If .Range.Text = "Date" Then .Type = wdContentControlDate .Range.Text = "" .Range.Select ElseIf .Range.Text = .PlaceholderText Then .Type = wdContentControlDropdownList .Range.Select End If End If End With End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
joshuaran | Word VBA | 2 | 03-14-2018 09:24 PM |
![]() |
lucky16 | Word VBA | 2 | 07-01-2016 01:14 PM |
dropdown lists and date picker added to word doc. | greg__reynolds | Word | 3 | 05-19-2014 12:19 AM |
Possible to link a date picker to another date picker? | tubbz | Word | 0 | 05-07-2014 01:23 PM |
Date picker | trintukaz | Excel | 0 | 12-30-2011 12:42 AM |