I have created a template that will be used by our national sales team. I have written a macro and will be adding more. This template will need to be able to refresh everytime it is opened so that the macros automatically turn on and refresh with each scenario. Here is the current macro running:
Sub channel()
'This macro will be used to hide row 3 if not active row.
If [E2].Value = "" Then
Range("A3:I3").EntireRow.Hidden = True
End If
If [E2].Value = MN Then
Range("A3:I3").EntireRow.Hidden = True
End If
If [E2].Value = NY Then
Range("A3:I3").EntireRow.Hidden = False
End If
If [E2].Value = WI Then
Range("A3:I3").EntireRow.Hidden = False
End If
End Sub
Thanks.
JJT
Sub channel()
'This macro will be used to hide row 3 if not active row.
If [E2].Value = "" Then
Range("A3:I3").EntireRow.Hidden = True
End If
If [E2].Value = MN Then
Range("A3:I3").EntireRow.Hidden = True
End If
If [E2].Value = NY Then
Range("A3:I3").EntireRow.Hidden = False
End If
If [E2].Value = WI Then
Range("A3:I3").EntireRow.Hidden = False
End If
End Sub
Thanks.
JJT