Hi,
From my VBA code I import some data from several wotkbooks into one destination sheet.
All columns except 2 contain text, the other 2 contain integers and doubles.
To import I simply use copy -> paste special values but some of the cells that should have double values gets translated as text and some numbers transforms into long removing the comma separator (it's , in the Swedish local instead of .)
For example a number 7,7429345 ends up like 77429345 which will naturally produce a huge fault later on in the post processing.
Another cell 4,93 gets translated as text by Excel -> "4,93".
So how can ensure that my imported data is copied with the correct format?
BR,
Peer
From my VBA code I import some data from several wotkbooks into one destination sheet.
All columns except 2 contain text, the other 2 contain integers and doubles.
To import I simply use copy -> paste special values but some of the cells that should have double values gets translated as text and some numbers transforms into long removing the comma separator (it's , in the Swedish local instead of .)
For example a number 7,7429345 ends up like 77429345 which will naturally produce a huge fault later on in the post processing.
Another cell 4,93 gets translated as text by Excel -> "4,93".
So how can ensure that my imported data is copied with the correct format?
BR,
Peer