silentbuddha
Board Regular
- Joined
- Mar 1, 2008
- Messages
- 112
Hi,
I recently finished my vba code to import results from a database table. When the VBA macro imports the data onto the worksheet all my values are stored as text in excel and thus the green arrow error appears.
The funny thing is that excel kept my dates as a date....( column A )
How would I proceed to create a procedure
1 - check my used range for any cell values that have the error : "Number-Stored-as-text"
2 - if the error does exist on that cell, format the cell to a number
Thanks in advance
I recently finished my vba code to import results from a database table. When the VBA macro imports the data onto the worksheet all my values are stored as text in excel and thus the green arrow error appears.
The funny thing is that excel kept my dates as a date....( column A )
How would I proceed to create a procedure
1 - check my used range for any cell values that have the error : "Number-Stored-as-text"
2 - if the error does exist on that cell, format the cell to a number
Thanks in advance