Hi Folks,
something weird:
Excel2019-64Bit on Win10Pro-64Bit
Via macro i pull data from a database and transfer it to a worksheet.
This macro has worked for years in production.
Since i've been upgraded to E2019/Win10, i noticed something wrong with columns containing numbers with decimals.
e.g.:
The macro pulls a price-column having value "157,82", but excel shows 158,00 --> and the value itself of the cell is 158!
The Format of the Target-cell is numeric with 2 decimals
I already checked by singlestepping through the code and checking immediate/watch-window.
The recordset-column has the correct value 157,82
No rounding/truncating in code done
Assignment is a simple
MySheet.cells(x,y)=RS("DB-COLUMN")
Anyone experienced this phenomenon?
something weird:
Excel2019-64Bit on Win10Pro-64Bit
Via macro i pull data from a database and transfer it to a worksheet.
This macro has worked for years in production.
Since i've been upgraded to E2019/Win10, i noticed something wrong with columns containing numbers with decimals.
e.g.:
The macro pulls a price-column having value "157,82", but excel shows 158,00 --> and the value itself of the cell is 158!
The Format of the Target-cell is numeric with 2 decimals
I already checked by singlestepping through the code and checking immediate/watch-window.
The recordset-column has the correct value 157,82
No rounding/truncating in code done
Assignment is a simple
MySheet.cells(x,y)=RS("DB-COLUMN")
Anyone experienced this phenomenon?