J
Jaazaniah
Hey everyone,
I've got an automated VBA for two functions of bringing in and
distributing data. My issue is with the source data, which comes in
csv format, and Excel insists on opening it and giving each cell the
text data type. This causes havoc with the formulas and other
functions I've set up around numeric input during development. One
work around that worked until recently (via a mysterious resource
shortage) was this:
Dim Origin as Range
....
Open Input file
....
Set Origin ...
Origin.NumberFormat = "###0"
Origin.Formula = Origin.Value
This now stops half way through on a resource shortage. How do I
address the TextAsNumbers error in Excel such that the cell values are
updated as numeric? Note: simply setting the format is not sufficient,
the cells stay as text until updated.
Any help would be appreciated.
-Jaazaniah Cole
I've got an automated VBA for two functions of bringing in and
distributing data. My issue is with the source data, which comes in
csv format, and Excel insists on opening it and giving each cell the
text data type. This causes havoc with the formulas and other
functions I've set up around numeric input during development. One
work around that worked until recently (via a mysterious resource
shortage) was this:
Dim Origin as Range
....
Open Input file
....
Set Origin ...
Origin.NumberFormat = "###0"
Origin.Formula = Origin.Value
This now stops half way through on a resource shortage. How do I
address the TextAsNumbers error in Excel such that the cell values are
updated as numeric? Note: simply setting the format is not sufficient,
the cells stay as text until updated.
Any help would be appreciated.
-Jaazaniah Cole