LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 290
Default Exclusive choice checkbox

BTW:

I know you was on about option buttons but the above is aimed at using
two comboboxes instead (like drop down choices), slightly easier I
think that having loads of option buttons to hide/unhide

Duncan


Duncan wrote:

Tony:

On the change event of the category combo box something like...

(assuming...first category box is called "CatList" and second item box
is called "Man"...change to suit)


Private Sub CatList_Change()

If CatList.Value = "Cars" Then
Man.Clear
Man.AddItem "BMW"
Man.AddItem "Lexus"
End If

If CatList.Value = "Lorries" Then
Man.Clear
Man.AddItem "Lorry make 1"
Man.AddItem "Lorry make 2"
End If

End Sub

then in the change event of the second box, do something similar to
above to fire the sub you want to fire based on the value in the box
after update

Hope this gets you going

Duncan


Tony wrote:

How do I make the hide/unhide for my selection?


 
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
File in Exclusive Use SSi308 Excel Discussion (Misc queries) 3 June 3rd 10 08:59 PM
Mutually exclusive values scantor145[_23_] Excel Programming 1 March 31st 06 04:02 PM
On exclusive open for write vezerid Excel Programming 3 January 23rd 06 06:09 PM
Using MATCH() for an exclusive find? [email protected] Excel Worksheet Functions 6 September 17th 05 02:22 PM
Exclusive use Problem TC Excel Discussion (Misc queries) 0 July 12th 05 06:09 PM


All times are GMT +1. The time now is 06:01 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"