tinkythomas
Active Member
- Joined
- Dec 13, 2006
- Messages
- 432
Hi,
How can I handle cells that could contain #REF, #N/A etc when testing cell value for length?
I get runtime error 13 (type mismatch) when a cell contains an #error as a result of a formula. I'm using a statement in vba like the following...
If Len(Cells(1, 1)) = 0 Then Do Something
Regards,
How can I handle cells that could contain #REF, #N/A etc when testing cell value for length?
I get runtime error 13 (type mismatch) when a cell contains an #error as a result of a formula. I'm using a statement in vba like the following...
If Len(Cells(1, 1)) = 0 Then Do Something
Regards,