Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-03-2015, 02:38 AM
gmayor's Avatar
gmayor gmayor is offline Help with Drop Down Box - Expand or Collapase Windows 7 64bit Help with Drop Down Box - Expand or Collapase Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The dropdown values are numeric values which represent the positions of the texts in the list. So you would use

Code:
Sub Dropdown4()
    Select Case ActiveDocument.FormFields("Dropdown4").Dropdown.Value
        Case 1
            ActiveDocument.Bookmarks("RiskTData").Range.Font.Hidden = False
        Case 2, 3
            ActiveDocument.Bookmarks("RiskTData").Range.Font.Hidden = True
        Case Else
    End Select
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Drop Down Box - Expand or Collapase Using Check Boxes and how to expand them SPT Word 3 02-25-2015 05:04 AM
How not disable expand/collapse LVP Word 3 12-21-2014 12:12 PM
Help with Drop Down Box - Expand or Collapase Drop-Down Menu, show-hide, expand-collapse??? 300zxmuro Word 1 02-27-2011 03:02 PM
Help with Drop Down Box - Expand or Collapase How to expand one column into two columns? Jamal NUMAN Excel 1 01-12-2011 07:59 PM
Grouping - expand all ejohns Excel 0 07-17-2009 07:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:48 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