Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-07-2017, 11:41 PM
ArtKilp ArtKilp is offline Listbox Content Control - Reset default/prompt? Windows 8 Listbox Content Control - Reset default/prompt? Office 2016
Novice
Listbox Content Control - Reset default/prompt?
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Listbox Content Control - Reset default/prompt? Clicking the selected Content Control checkbox returns wrong control in vba event DougsGraphics Word VBA 2 06-24-2015 07:31 AM
How to set the Content Control placeholder default text dsimon14 Word VBA 3 03-27-2015 07:15 AM
How to use an ActiveX Control to insert a multi select listbox in Word marksm33 Word 2 01-29-2014 05:21 PM
Listbox Content Control - Reset default/prompt? Deleting a table from a content control -- preserving the content control BrainSlugs83 Word Tables 8 11-14-2013 03:06 AM
Listbox Content Control - Reset default/prompt? text appears in prompt font in RTF content control eli.rhodes Word 1 09-18-2013 08:32 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft