text trigger

C

Curt

have not been able to get text to function as trigger
Useing following have compile problem useing IsText say wrong argument
Have no trouble when useing numeric value.
Target column 12 will all ways have text in it. It is description cell
stimmed.
Thanks

< = 0
also no go
If Target.Column = 12 And CDbl(Target.Value) > (" ") And
IsText(Target.Value) Then _
Call Announcer(Target)
 
V

Vergel Adriano

Is IsText a user defined function?

You'll also get a type mismatch error on this one:

CDbl(Target.Value) > (" ")

Is this what you're trying to do? :

If Target.Column = 12 And CDbl(Target.Value) > 0 Then Call Announcer(Target)
 
J

JE McGimpsey

Perhaps

With Target
If .Column = 12 Then _
If Application.IsText(.Value) Then _
If Len(Trim(.Text)) > 0 Then _
Call Announcer(.Cells)
End With
 
C

Curt

Thanks Much

Vergel Adriano said:
Is IsText a user defined function?

You'll also get a type mismatch error on this one:

CDbl(Target.Value) > (" ")

Is this what you're trying to do? :

If Target.Column = 12 And CDbl(Target.Value) > 0 Then Call Announcer(Target)
 
C

Curt

Belive it or not I got it by this

If Target.Column = 12 And Target.Value > (" ") Then _
Call Announcer(Target)
Simple once you find it
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Pass condition formatting across worksheets via vba. 0
Trigger or code 0
elseif 0
Trigger Question 2
target.value 7
chg by val 1
order placement of code 0
clear contents re value 9

Top