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


Is there a way in VBA to tell whether a cell has text in it? I kno
that there is a hasformual property and ther is an isnumeric functio
but I cannot find anything like istext.

Thank

--
ExcelMonke
-----------------------------------------------------------------------
ExcelMonkey's Profile: http://www.excelforum.com/member.php...nfo&userid=522
View this thread: http://www.excelforum.com/showthread.php?threadid=26906

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Istext function

Hi
you may use:
application.WorksheetFunction.istext


--
Regards
Frank Kabel
Frankfurt, Germany


ExcelMonkey wrote:
Is there a way in VBA to tell whether a cell has text in it? I know
that there is a hasformual property and ther is an isnumeric function
but I cannot find anything like istext.

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Istext function

? vartype(activeCell) = vbString
True

--
Regards,
Tom Ogilvy

"ExcelMonkey" wrote in message
...

Is there a way in VBA to tell whether a cell has text in it? I know
that there is a hasformual property and ther is an isnumeric function
but I cannot find anything like istext.

Thanks


--
ExcelMonkey
------------------------------------------------------------------------
ExcelMonkey's Profile:

http://www.excelforum.com/member.php...fo&userid=5221
View this thread: http://www.excelforum.com/showthread...hreadid=269061



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
If + ISTEXT + SEARCH mldancing Excel Discussion (Misc queries) 4 May 11th 23 03:46 AM
Excel function =if(istext(c25:c31),text," "). What is wrong? Jerry Excel Worksheet Functions 3 February 4th 09 12:14 AM
ISTEXT() function problem Finance Guru Excel Worksheet Functions 3 November 20th 07 02:42 PM
ISTEXT Micayla Bergen Excel Discussion (Misc queries) 1 May 19th 05 02:13 AM
I need help with a =sum IF ISTEXT formula. I keep getting 0. PullingMyHairOut Excel Discussion (Misc queries) 2 May 6th 05 01:31 PM


All times are GMT +1. The time now is 03:30 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"