LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Hide combo 3 based on combo1


Hi guys,

Two specific combo boxes, cmbhardwarecat and cmbprintercat.
If cmbhardwarecat = printer then show cmbprintercat (including lable:
lblprintercat) otherwise hide.

trying to work out why this isn't working:


Code:
--------------------
Private Sub cmbprintercat_Change()
If Not cmbHardwarecat.Value = "Printer" Then
cmbprintercat.Visible = False
lblprintercat.Visible = False

Else

If cmbHardwarecat.Value = "Printer" Then
cmbprintercat.Visible = True
lblprintercat.Visible = True

End If
End If
End Sub

--------------------


Any ideas would be much apprciated.


--
harpscardiff
------------------------------------------------------------------------
harpscardiff's Profile: http://www.excelforum.com/member.php...o&userid=25960
View this thread: http://www.excelforum.com/showthread...hreadid=541063

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hide combo box JD Excel Discussion (Misc queries) 6 February 17th 09 06:34 PM
Hide Combo Boxes AJ Excel Worksheet Functions 0 October 11th 06 04:22 AM
In Excel I need to set up a combo box based on another combo box. donna_ge Excel Discussion (Misc queries) 2 March 29th 06 03:26 PM
Combo box values based on other combo box value JCanyoneer Excel Programming 1 April 5th 05 06:41 PM
Combo Box - Hide Combo Box w/Check Box Paul Excel Programming 5 December 3rd 04 10:58 PM


All times are GMT +1. The time now is 12:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"