I
ianripping
I got this from an old post: -
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim invent_index As Integer
On Error GoTo CleanUp
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub
If Target.Cells.Count > 1 Then Exit Sub
With Target
Application.EnableEvents = False
Link_Button.Caption = .Value
End With
CleanUp:
Application.EnableEvents = True
End Sub
This should update the text in a shape as long as:-
Shape Name = 'Link_Button"
and...
Name is entered in "A1"
I've tried to get it to work bur it won't!
I think its to what the name "refers to?".
Help
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim invent_index As Integer
On Error GoTo CleanUp
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub
If Target.Cells.Count > 1 Then Exit Sub
With Target
Application.EnableEvents = False
Link_Button.Caption = .Value
End With
CleanUp:
Application.EnableEvents = True
End Sub
This should update the text in a shape as long as:-
Shape Name = 'Link_Button"
and...
Name is entered in "A1"
I've tried to get it to work bur it won't!
I think its to what the name "refers to?".
Help