Private Sub SIB_Click()
Worksheets("Sheet2").Columns("C:C").Hidden = CheckBox1.Value
Worksheets("Sheet3").Columns("C:C").Hidden = CheckBox1.Value
Worksheets("Sheet4").Columns("C:C").Hidden = CheckBox1.Value
Worksheets("Sheet2").Columns("D:D").Hidden = CheckBox2.Value
Worksheets("Sheet3").Columns("D:D").Hidden = CheckBox2.Value
Worksheets("Sheet4").Columns("D:D").Hidden = CheckBox2.Value
'etc.

Signature
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
> Hi,
>
[quoted text clipped - 41 lines]
> Best regards,
> Brian
Brian - 13 Jun 2007 13:53 GMT
> Private Sub SIB_Click()
>
[quoted text clipped - 7 lines]
>
> 'etc.
That's fantastic and helps a lot, thank you very much Bob! Thanks for
responding so quickly, too.
Best regards,
Brian.
Brian - 13 Jun 2007 14:11 GMT
> Private Sub SIB_Click()
>
[quoted text clipped - 7 lines]
>
> 'etc.
Hi again Bob,
oops, I spoke a little too soon. Your code makes a checkbox hide a column
rather than show a column. I am not sure how to reverse the situation. I
tried using "Visible" instead of "Hidden", but that only gave an error
message telling me there is no such property for this type of Object. Any
ideas how I might get the checkboxes to show the columns?
Best regards,
Brian.
Bob Phillips - 13 Jun 2007 14:18 GMT
I wasn't sure about the setting, your words seem to be against the code you
gave <g>
Just logically reverse it
= Not CheckBox1.Value
etc.

Signature
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
>> Private Sub SIB_Click()
>>
[quoted text clipped - 18 lines]
> Best regards,
> Brian.
Brian - 13 Jun 2007 14:45 GMT
>I wasn't sure about the setting, your words seem to be against the code you
>gave <g>
[quoted text clipped - 4 lines]
>
> etc.
Thanks again, Bob.
I apologise for the ambiguity in my original post. I am completely new to
VBA, I have a lot of reading to do. I didn't even know one could place a NOT
statement like that. I appreciate your help very much.
Best regards,
Brian.
Bob Phillips - 13 Jun 2007 14:49 GMT
No need to apologise, I read it as ambiguity and took a punt ... wrong
<vbg>. I should have trusted the code <ebg>

Signature
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
>>I wasn't sure about the setting, your words seem to be against the code
>>you gave <g>
[quoted text clipped - 13 lines]
> Best regards,
> Brian.