Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Checkbox to hide or show rows
I put a checkbox from the control toolbox toolbar on a worksheet.
I double clicked on it and used this sub: Option Explicit Private Sub CheckBox1_Click() Me.Rows("10:12").Hidden = not Me.CheckBox1.Value End Sub If it's checked, then show them??? (or remove the Not to reverse the toggle) wendy wrote: I need help creating a checkbox that works like a toggle - if checked, a macro will run to show certain rows on sheet; if unchecked, the rows remain hidden or get hidden if they were showing. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
use checkbox to hide rows | Excel Discussion (Misc queries) | |||
Hide Rows - copy and paste only rows that show | Excel Worksheet Functions | |||
Hide rows but show when printing | Excel Discussion (Misc queries) | |||
Hide and show Rows | Excel Discussion (Misc queries) | |||
Checkbox to hide and unhide rows Please. | Excel Worksheet Functions |