Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Help! I am creating a workbook where in worksheet1 there is a checklist Ideally when a topic's checkbox is clicked, a macro (which I hav assigned) will hide certain rows on worksheet2. However I cannot get the action to reverse when the box is unchecked. This is really frustrating me as I have tried to write a program usin boolean instead of the macro for when the button is "clicked" and the clicked again, but I am not getting anywhere. If it helps the rows I have also grouped into arrays. Below is like my 20th attempt Private Sub CheckBox1_Click() Sheets("Sheet1").Select i = Rows("13:22") i.Select Selection.EntireRow.Hidden = True Sheets("Sheet2").Select End Sub; -- Sa ----------------------------------------------------------------------- Saz's Profile: http://www.excelforum.com/member.php...fo&userid=1722 View this thread: http://www.excelforum.com/showthread.php?threadid=54946 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Collapsing rows via command button | Excel Discussion (Misc queries) | |||
Hiding a button when hiding rows | Excel Discussion (Misc queries) | |||
Command Button to Hide/Unhide Rows | Excel Discussion (Misc queries) | |||
Inserting rows from a command button | Excel Programming | |||
Hiding A Sheet Command Button With VBA | Excel Programming |