Will enclose code I am useing. Target in end will be text entered in a cell
on another sheet. Then you move out of cell and then click on an option
button which pastes that cell back into main sheet. I know I have (0) in
there this is trying to get it to trigger. Have not used text to trigger
before. As your post CDbl is new to me. Have been having trouble with IsText
when compileing.any way heres the code that I have done something wrong with
Thanks for looking
If Target.Column = 12 And Target.Value > 1 And IsNumeric(Target.Value) Then _
Call Announcer(Target)
Public Sub Announcer(ByVal Target As Range)
Dim wksSummary As Worksheet
Dim rngPaste As Range
Set wksSummary = Sheets("Announcer")
Set rngPaste = wksSummary.Cells(65536, "A").End(xlUp).Offset(1, 0)
Application.EnableEvents = False
Set rngPaste = rngPaste.Offset(0, 0)
Union(Target.Offset(0, -11), Target.Offset(0, 8), _
Target.Offset(0, 7), Target.Offset(0, 5), _
Target).Copy Destination:=rngPaste
rngPaste.Offset(0, 7) = Target
Application.EnableEvents = True
End Sub