Hi all
I have some data that is taken by macro into another spreadsheet, put in the right format, then it goes into access. For access it is essential that all the data is numeric NOT text. There will be lots of blanks in the data, this is fine, just as long as what there is, is numeric.
I've had a read around on the board and it seems there isn't a 'istext' in vba, but there is an 'isnumeric'
So the only way I can think to check it, is while moving the data, it loops through the columns of data, checking first to see if the cell is blank, then checking if the data is numeric, then warning the user if not.
However if I loop through it will give a warning every time it find some text. Which could be very annoying if by mistake the user has put in lots of text. Ideally I'd like it check through the whole lot, and then say at the end whether any text was found.
Can anyone think of a way to do this? I'm not asking anyone to write the whole code, just if its possible. (although no doubt I will be asking for more help once I start trying to write it!!)
Thanks for your time!!

I have some data that is taken by macro into another spreadsheet, put in the right format, then it goes into access. For access it is essential that all the data is numeric NOT text. There will be lots of blanks in the data, this is fine, just as long as what there is, is numeric.
I've had a read around on the board and it seems there isn't a 'istext' in vba, but there is an 'isnumeric'
So the only way I can think to check it, is while moving the data, it loops through the columns of data, checking first to see if the cell is blank, then checking if the data is numeric, then warning the user if not.
However if I loop through it will give a warning every time it find some text. Which could be very annoying if by mistake the user has put in lots of text. Ideally I'd like it check through the whole lot, and then say at the end whether any text was found.
Can anyone think of a way to do this? I'm not asking anyone to write the whole code, just if its possible. (although no doubt I will be asking for more help once I start trying to write it!!)
Thanks for your time!!