Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-08-2017, 01:23 AM
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

Quote:
Originally Posted by gmayor View Post
Unfortunately it isn't and will produce the same error. For a list box the code required is
Code:
ActiveDocument.ContentControls(2).DropdownListEntries(1).Select
That gives me the first option from the list. I want the prompt, not the option. Programmatically logical would be "-1" or "0" or something like that. Or "ActiveDocument.ContentControls(2).Reset()"

The best option I've found so far has been to re-create the entire list. It is a lot of hopefully completely needless code, but that's the best solution I've found working.
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 09:37 PM.


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