
Originally Posted by
red49er
How to differentiate from within VB code module, between Excel 'cell types', i.e. 'general', 'numeric', 'text', 'formula' etc.?
Example:
Test and return a difference between;
"1234" in Excel 'general' format cell
and
"1234" in 'numeric' format cell
IsNumeric can't tell the difference.
I think I need to look at special Excel functions actioned from VBmodule??
Any help gratefully received...
Can you retrieve .NumberFormat = ?
(that is the characteristic, I know it can be set, but have no idea how to retrieve it)
otherwise there were some comments by SteveG in the post http://www.excelforum.com/showthread.php?t=577126 regarding XLM Macro Language that might help.
works to test for format TEXT
---
Bookmarks