Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
i have one macro as follows
Sub HideRows() Dim Rng As Range Set Rng = Sheets("Sheet1").Range("B10") If Rng.Value = "YES" Then Rows("11:50").EntireRow.Hidden = False Range("B11").Select ElseIf Rng.Value = "NO" Then Rows("11:50").EntireRow.Hidden = True Range("B51").Select End If End Sub now i want that whenever i change in the values in cell B10 the said macro should run. Please help me out |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to create a command button, then assign macro to it in excel | Excel Discussion (Misc queries) | |||
Compiling macro based on cell values | Excel Discussion (Misc queries) | |||
assign macro | Excel Worksheet Functions | |||
Macro Help In Excel | Excel Discussion (Misc queries) | |||
Highlight Range - wrong macro, please edit. | Excel Worksheet Functions |