View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
packat[_2_] packat[_2_] is offline
external usenet poster
 
Posts: 13
Default Checkbox control


Thanks Don. The ocde is now even tighter! I did try that
before posting the question, but it did't work. Come to
think of it, perhaps the control was in edit mode :-)
pax


Don Wiss wrote:
On Fri, 31 Dec 2004 23:32:44 GMT, "packat"

wrote:

I have 10 checkboxes with names chkParams1,
chkParams2,...,chkParams10.

I am writing a sub to reset these boxes using a control
box.
I could simply put the statement:
Sheet11.chkParams1.Value = False .....

for all of the boxes. But I am wondering if there is a
better way using a for loop.


If you link each checkbox to a LinkedCell, and put the
cells together
and assign them a range name, you can do it without a
loop:

Range("CheckBoxCells").Value = False

Don <donwiss at panix.com.