Carin
Board Regular
- Joined
- Feb 4, 2006
- Messages
- 224
I have a dropdown in C5 that has 12 choices. After someone selects a new item from the list (C5 changed), I would like a macro to run. I right clicked on the sheet ("Report") and input the following code:
My nacleanup code is is Module 1 and is as follows:
Absolutely nothing happens...please help.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$c$5" Then
Call nacleanup
End If
End Sub
My nacleanup code is is Module 1 and is as follows:
Code:
Sub nacleanup()
'
' nacleanup Macro
Application.ScreenUpdating = False
Sheets("Creation").Visible = True
Sheets("Creation").Select
Rows("17:218").Select
Range("d17").Activate
Selection.EntireRow.Hidden = False
Range("d17").Select
Range("Z17:A218").SpecialCells(xlFormulas, xlErrors).EntireRow.Hidden = True
Sheets("Creation").Visible = False
Sheets("Report").Select
Application.ScreenUpdating = True
'
End Sub
Absolutely nothing happens...please help.