To the experts:
My macro has the following statements (many more, but these are about my question)
Dim TotKsrt As Integer
TotKsrt = 0
For L = 12 to Lmax
TotKsrt = TotKsrt + Range("J" & L).Value
Next L
When in the worksheet amounts are found in col J, these amounts have 2 decimals. The value of TotKsrt however has been rounded.
Something wrong with the definition of TotKsrt??
Thanks,
Paul
My macro has the following statements (many more, but these are about my question)
Dim TotKsrt As Integer
TotKsrt = 0
For L = 12 to Lmax
TotKsrt = TotKsrt + Range("J" & L).Value
Next L
When in the worksheet amounts are found in col J, these amounts have 2 decimals. The value of TotKsrt however has been rounded.
Something wrong with the definition of TotKsrt??
Thanks,
Paul