"Errored" Cells in Data

T

Tim Childs

Hi

If you put a large integer in a small column you get "###" displayed.
However, if you put a very large integer in a cell and then some 'helpful'
colleague accidentally formats it as a date, you get "#####" across the
column but it cannot be rectified by making the column wider. I think it is
an "overflow" condition. (selection.value gives an overflow error )

In the context of using data form a sheet where these events happen very
occasionally in the second case, is there an easy way to distinguish between
these cell entries in VB?

Many thanks, Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top