Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Testing for type of cell value using Excel VBA

I'm liiking for a way to determine which of the following is true regarding
the value & format of a specific cell: Does the cell have a (1)
date-formated number, or (2) a time-formated number, or (3) a numeric value
that is neither date-formated nor time-formated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Testing for type of cell value using Excel VBA

use Vartype

See help for details.

--
Regards,
Tom Ogilvy

"Jim Watkins" wrote:

I'm liiking for a way to determine which of the following is true regarding
the value & format of a specific cell: Does the cell have a (1)
date-formated number, or (2) a time-formated number, or (3) a numeric value
that is neither date-formated nor time-formated.

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
testing for a value in a cell Dave Eade Excel Discussion (Misc queries) 1 February 11th 10 11:54 AM
Testing a cell value Finance Guru Excel Worksheet Functions 2 January 19th 09 12:44 PM
testing for a string type 6e Excel Programming 1 July 20th 06 06:02 PM
Testing a cell Michael Singmin Excel Programming 5 November 29th 03 05:56 AM
testing cell value Thompson, Joseph Excel Programming 1 November 8th 03 09:41 AM


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