Good morning! I am so glad to have found this site, its so helpful.
I wish to have a macro that runs when the selected value of a data validation list changes in cell B4. It doesnt matter what the value is, just that it changed.
The purpose of the macro will be to hide rows where the value in C8:C120 equals zero; this value will change based on the selection from the list. I believe I got the hiding rows part down, thanks to an older post found here:
Range("C8:C120").Select
For Each cell In Selection
If cell = 0 Then
'Range(cell.Address).EntireRow.Hidden = True
End If
Next
But could someone help me with adding a line or two to make the above occur when the value in B4 changes? Thanks much!!
aklewe
*happy excel geek*
I wish to have a macro that runs when the selected value of a data validation list changes in cell B4. It doesnt matter what the value is, just that it changed.
The purpose of the macro will be to hide rows where the value in C8:C120 equals zero; this value will change based on the selection from the list. I believe I got the hiding rows part down, thanks to an older post found here:
Range("C8:C120").Select
For Each cell In Selection
If cell = 0 Then
'Range(cell.Address).EntireRow.Hidden = True
End If
Next
But could someone help me with adding a line or two to make the above occur when the value in B4 changes? Thanks much!!
aklewe
*happy excel geek*