Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 427
Default check for cell with numeric value


I have a function to append/alter a cell depending on it's contents
Is there an easy way to determine cell has a numeric value rather than text
....cell.Value 0 returns true even if cell has Text in it

--
Steve (3)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default check for cell with numeric value

if isnumeric(cell.value) then

--
Regards,
Tom Ogilvy


"SteveW" wrote:


I have a function to append/alter a cell depending on it's contents
Is there an easy way to determine cell has a numeric value rather than text
....cell.Value 0 returns true even if cell has Text in it

--
Steve (3)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 427
Default check for cell with numeric value

Works in my function perfectly

Thanks

Steve

On Wed, 07 Feb 2007 16:37:01 -0000, Tom Ogilvy
wrote:

if isnumeric(cell.value) then

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
TO DELETE ONLY NUMERIC VALUES IN A CHARACTER AND NUMERIC CELL IN ramesh k. goyal - abohar[_2_] Excel Discussion (Misc queries) 1 October 28th 09 06:50 AM
How do I copy numeric section of cell from alpha-numeric cell ACCAguy Excel Worksheet Functions 8 September 8th 08 12:46 PM
check is input textboxes is numeric on userform Jean-Pierre D via OfficeKB.com Excel Programming 7 August 16th 05 08:15 PM
How do i check if something non numeric is in a range & return'Y' Becs Excel Worksheet Functions 3 June 24th 05 12:23 PM
function to check numeric value stan Excel Worksheet Functions 1 April 22nd 05 07:35 AM


All times are GMT +1. The time now is 01:09 AM.

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"