HI All,
I have a macro with a helper cell that enables to me to change the drop down and the comments change as the selection on the drop down change, however I would like to have a few columns like this as well as would like to drag it from 1 cell all the way to the whole column. At the moment the macro only perform this for 1 cell $G$2.
See attached sample file
The code:-
Thanks
I have a macro with a helper cell that enables to me to change the drop down and the comments change as the selection on the drop down change, however I would like to have a few columns like this as well as would like to drag it from 1 cell all the way to the whole column. At the moment the macro only perform this for 1 cell $G$2.
See attached sample file
The code:-
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$G$2" Then
Set Cmnt = Target.Comment
If Cmnt Is Nothing Then
Target.AddComment Text:=Cells(2, "E").Text
Else
With Cmnt
.Text Text:=ActiveSheet.Cells(2, "E").Text
End With
End If
End If
End Sub
Thanks