Check boxes

G

Guest

I have a workbook with 14 worksheets. Each worksheet has 6 checkboxes that
when true will show columns and when false will hide them again. The
checkboxes perform the same function on each worksheet. At the moment I have
the code on each sheet - exactly the same code 14 times over!
Is there any way of putting the code into just one place?
I tried doing it with macros but, although the columns would hide, they
wouldn't show again when the box was deselected.
Any help would be greatly appreciated, but my knowledge is very limited so
explanations need to be one step at a time!
Many thanks.
 
D

Dave Peterson

Hmmmm.

You may want to go back to your other thread in .misc and explain what you tried
and what didn't work.
 
G

Guest

I read your suggestions and I tried doing it with macros but, although the
columns would hide, they wouldn't show again when the box was deselected.

Unfortunately my knowledge of vb is limited and I couldn't understand where
to put the code that you suggested!
I can do macros, so I was trying to make that work as it seemed to be the
least complicated solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top