Am looking for a simple way to copy the VBA code for Sheet1 to Sheets2 - 10. Note there are a few other worksheets in the workbook that do not require this code.
for sample sake, with VBA code below on found on Sheet1 module add same code to Sheets2 to 10
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With Target
If Target.Row = 25 And Target.Column = 5 Then
Range("E30").Select
End If
If Target.Row = 26 And Target.Column = 5 Then
Range("E30").Select
End If
End With
End Sub
for sample sake, with VBA code below on found on Sheet1 module add same code to Sheets2 to 10
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With Target
If Target.Row = 25 And Target.Column = 5 Then
Range("E30").Select
End If
If Target.Row = 26 And Target.Column = 5 Then
Range("E30").Select
End If
End With
End Sub