Hi all
Is it possible to modify the code below so that the ActiveCell.Address can be any cell in a range (e.g. A2:M14) and the Range("W5").Value is equal to the active cell in that range?
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If ActiveCell.Address = "$A$2" Then
Range("W5").Value = Range("A2").Value
End Sub
Cheers!
Is it possible to modify the code below so that the ActiveCell.Address can be any cell in a range (e.g. A2:M14) and the Range("W5").Value is equal to the active cell in that range?
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If ActiveCell.Address = "$A$2" Then
Range("W5").Value = Range("A2").Value
End Sub
Cheers!