Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You should be able to construct your own code built around the code concepts
in this macro... Sub WhatIsIt() With ActiveCell If IsDate(.Value) Then MsgBox "It's a date!" ElseIf WorksheetFunction.IsNumber(.Value) Then MsgBox "Excel thinks you have a number of some sort." Else MsgBox "It looks like text to me." End If End With End Sub -- Rick (MVP - Excel) "satadru" wrote in message ... Dear All, Without using the "Format -- Cells -- Number" option, is it possible to determine the data type / format of a particular cell or a range of cells? I am trying to look for a formula or a piece of code which could possibly help me out in this. Many thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Determining the text mode from a variety of data types | Excel Worksheet Functions | |||
How can i filter data type in a cell? | Excel Discussion (Misc queries) | |||
Data Type Problem? | Excel Discussion (Misc queries) | |||
Adding new 'Type' to Format->Number->Time->Type | Excel Discussion (Misc queries) | |||
Need help determining Chart Type | Charts and Charting in Excel |