Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 469
Default text trigger

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)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default text trigger

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)


--
Hope that helps.

Vergel Adriano


"Curt" wrote:

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)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default text trigger

Perhaps

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

In article ,
Curt wrote:

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)

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 469
Default text trigger

Thanks Much

"Vergel Adriano" wrote:

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)


--
Hope that helps.

Vergel Adriano


"Curt" wrote:

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)

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 469
Default text trigger

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


"JE McGimpsey" wrote:

Perhaps

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

In article ,
Curt wrote:

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)




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default text trigger

That'll work unless the user enters two or more space characters.

In article ,
Curt wrote:

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

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 469
Default text trigger

Thanks for the update

"JE McGimpsey" wrote:

That'll work unless the user enters two or more space characters.

In article ,
Curt wrote:

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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trigger a Macro Patrick Simonds Excel Programming 1 December 16th 06 07:28 AM
add text in a cell to trigger a calculation noddy47 Excel Worksheet Functions 3 October 24th 06 09:02 AM
Functions Trigger Frankie Excel Programming 6 May 26th 06 03:11 PM
trigger help climax Excel Worksheet Functions 1 February 2nd 06 04:39 PM
Row Deletion Using Text Trigger? daved Excel Programming 1 July 15th 03 04:23 AM


All times are GMT +1. The time now is 07:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"