billbilliamson
New Member
- Joined
- May 31, 2018
- Messages
- 5
Hello,
I am using the following code:
However, if "A1" is a value to 3 decimal places, the code is rounding it to 2 decimals. For example, if "A1" is $0.437, after the code executes, "A2" on "Sheet2" is $0.44
I used Message Boxes, and it definitely rounded to two decimal places, I'm just not sure why...
Any help?
I am using the following code:
Code:
Sheets("Sheet1").Range("A1").Value = Sheets("Sheet2").Range("A2").Value
However, if "A1" is a value to 3 decimal places, the code is rounding it to 2 decimals. For example, if "A1" is $0.437, after the code executes, "A2" on "Sheet2" is $0.44
I used Message Boxes, and it definitely rounded to two decimal places, I'm just not sure why...
Code:
MsgBox Sheets("Sheet1").Range("A1").Value
Code:
MsgBox Sheets("Sheet2").Range("A2").Value
Any help?