Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2017, 03:29 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 macropod View Post
It worked when I tried it before posting, but when I re-tried it just now, it didn't. Another way would be:
Code:
With ActiveDocument.ContentControls(2)
  .Type = wdContentControlText
  .Range.Text = ""
  .Type = wdContentControlDropdownList
End With
This works, thanks!
Reply With Quote
Reply



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