I
ifiaz
Hello,
Range("B2") contains the value 1852 in general format.
I am certain that this cell has no decimal places at all.
I even typed it explicitly once again.
But, when I do a
? Range("B2").Value
in VBA immediate window, it prints
1852.00034359738
This causes problems for me when I import the excel data to access as I
am actually expecting a whole number value in that cell.
Could someone explain this behaviour and how I can go about in fixing
it?
I am actually a proficient excel user and this is the first time I
encounter this.
Thanks.
Range("B2") contains the value 1852 in general format.
I am certain that this cell has no decimal places at all.
I even typed it explicitly once again.
But, when I do a
? Range("B2").Value
in VBA immediate window, it prints
1852.00034359738
This causes problems for me when I import the excel data to access as I
am actually expecting a whole number value in that cell.
Could someone explain this behaviour and how I can go about in fixing
it?
I am actually a proficient excel user and this is the first time I
encounter this.
Thanks.