View Single Post
 
Old 06-13-2024, 01:17 AM
Rafi Rafi is offline Windows 7 64bit Office 2016
Novice
 
Join Date: Nov 2018
Location: Israel
Posts: 15
Rafi is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Try:
Code:
Sub Demo()
Dim CCtrl As ContentControl
For Each CCtrl In ActiveDocument.ContentControls
  With CCtrl
    If .Type = wdContentControlDropdownList Then .Type = wdContentControlComboBox
  End With
Next
End Sub

Windows 10 Office 365.
The code works great!!
Thank you very much, you saved me days of work!
Reply With Quote