Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Newbie : question on VBA and checkboxes
Hi everybody.
I have this worksheet which contains one checkbox on each line of a specific column, let's say Checkbox1 to checkbox20. I can determine whether the checkboxes are checked or not using instructions such as : If ActiveSheet.CheckBoxes1.Value = True Then [Process] However I would like to use a For / Next routine to test all the checkboxes. I entered the following code, but it doesn't work and generates an error message : For i = 1 To n 'n = number of lines If ActiveSheet.CheckBoxes(i).Value = True Then [Process] End If Next i The error message indicates : Error 1004. "Impossible to read the Checkbox property of the worksheet class " (sorry, it's a lousy translation of the French version of Excel). What did I do wrong ? What should I do ? I am using Excel 2002 again, many tks in advance for your time and kind help. Brgds, Daniel |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
question on VBA and Checkboxes - Newbie | Excel Programming | |||
question regaridng checkboxes | Excel Programming | |||
Real Newbie newbie question | New Users to Excel | |||
Newbie Question - Subtraction Formula Question | Excel Discussion (Misc queries) | |||
Newbie question | Excel Programming |