The following code is part of 3 cases to hide/ reveal rows and columns:
Private Sub Worksheet_Change(ByVal Target As Range)
ActiveSheet.Activate
If Not Application.Intersect(Range("C2"), Range(Target.Address)) Is Nothing Then
Select Case Target.Value
Case Is = "Fibre": Rows("61:67").EntireRow.Hidden = True
Rows("87:92").EntireRow.Hidden = True
Rows("79:86").EntireRow.Hidden = False
Rows("68:76").EntireRow.Hidden = False
ActiveSheet.Shapes("Picture 43").Visible = False
ActiveSheet.Shapes("Picture 40").Visible = True
ActiveSheet.Shapes("Picture 39").Visible = True
With Worksheets("Summary Page")
.Range("H:V").EntireColumn.Hidden = True
.Range("A:G").EntireColumn.Hidden = False
End With
I want to force the cursor to go to a specific cell when I open the Summary Page and the case is "Fibre".
Private Sub Worksheet_Change(ByVal Target As Range)
ActiveSheet.Activate
If Not Application.Intersect(Range("C2"), Range(Target.Address)) Is Nothing Then
Select Case Target.Value
Case Is = "Fibre": Rows("61:67").EntireRow.Hidden = True
Rows("87:92").EntireRow.Hidden = True
Rows("79:86").EntireRow.Hidden = False
Rows("68:76").EntireRow.Hidden = False
ActiveSheet.Shapes("Picture 43").Visible = False
ActiveSheet.Shapes("Picture 40").Visible = True
ActiveSheet.Shapes("Picture 39").Visible = True
With Worksheets("Summary Page")
.Range("H:V").EntireColumn.Hidden = True
.Range("A:G").EntireColumn.Hidden = False
End With
I want to force the cursor to go to a specific cell when I open the Summary Page and the case is "Fibre".