View Single Post
 
Old 08-07-2017, 11:41 PM
ArtKilp ArtKilp is offline Windows 8 Office 2016
Novice
 
Join Date: Jan 2016
Posts: 18
ArtKilp is on a distinguished road
Default Listbox Content Control - Reset default/prompt?

Let's say we have a list box. We have there a prompt "Pick value" and the options are "1", "2" and "3". User picks value "3". Now in order to reset this value to "Pick value", what do I need?

This
Code:
Dim obj 
Set obj = ActiveDocument.ContentControls(2) 
obj.Range.Text = obj.PlaceholderText.Value
fails to "You are not allowed to edit this selection because it is protected".

And yes, I've asked this elsewhere too.
Reply With Quote