text trigger

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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)
 
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)
 
Perhaps

With Target
If .Column = 12 Then _
If Application.IsText(.Value) Then _
If Len(Trim(.Text)) > 0 Then _
Call Announcer(.Cells)
End With
 
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)
 
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
 
That'll work unless the user enters two or more space characters.
 

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


Back
Top