Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello Dearest Wizards,
I have been able to load my listbox ... with Items in Column A: Private Sub Worksheet_Activate() Dim cell As Range Dim Rng As Range 'Me.ListBox1.ListFillRange = "" 'Me.ListBox1.Clear With ThisWorkbook.Sheets("Sheet1") Set Rng = .Range("a1", .Range("a1").End(xlDown)) End With For Each cell In Rng.Cells Me.ListBox1.AddItem cell.Value Next cell End Sub My Problems: 1. Upon loading I would like to keep the items which were checked already! 2. Above procedure adds again the same list to the already existing (if you do not clear it ...) Main Issue: 3. On each "check item" i would like to run a macro. Like: Select Case case1 item1 checked? then Run Macro1 case2 item2 not_checked then nothing case3 item3 checked? run Macro3 End Select - Ok my nr of items in the listbox can vary and my selection (of macros) to be activated limited; but: If Nothing then MsgBox "no macro assigned" Any experienced wizard to help me out? Sige |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiselect Listbox use | Excel Discussion (Misc queries) | |||
MultiSelect ListBox | Excel Programming | |||
Multiselect Listbox | Excel Programming | |||
Multiselect Listbox | Excel Programming | |||
multiselect listbox | Excel Programming |