Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a large Access project that does a lot of export to Excel Wbs and
Shts. Much of the data arrives out of server level DBs. Many columns initially arrive in Excel as though they were quoted text like '3245876 They align left and cannot be used in math procedures. I have a routine that sets those columns as a range and then applies a "Sheet.Range.Value = Sheet.Range.Value. That works (converts data to numerics) on all but one column. The column it does not work on has data that , like those mentioned above, is numeric but comes in as quoted text. The difference in this column is that it has 8 digits like 60113015. When the procedure mentioned above converts this column, Excel apparently believes that the data represents a date and converts it accordingly. Because the resulting date is out of bounds, Excel places ############# in each cell of the column. If I type a 1 in one of the cells, it shows the result as 1/1/1900. Is there a simple work around for this behavior in Excel. Thx for any hints, solutions or sources. Kevin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting text to numbers | Excel Programming | |||
converting numbers to text | New Users to Excel | |||
Converting numbers formatted as text to numbers | Excel Discussion (Misc queries) | |||
Converting text to numbers | Excel Worksheet Functions | |||
converting numbers to text and prefill text field with 0's | Excel Discussion (Misc queries) |