TAPS_MikeDion
Well-known Member
- Joined
- Aug 14, 2009
- Messages
- 622
- Office Version
- 2011
- Platform
- MacOS
Does anyone know why I cannot get the following code to show the digits after the decimal point in my label caption?
Budget is the label name.
Everything works great except for the fact that I can't get it to display the cents.
1900 displays as "$1,900."
1900.00 displays as "$1,900."
No matter what is entered into the Excel sheet (the cells are also formatted as $##,###.## and it shows up correctly in the sheet) the label caption will not show what is after the decimal point.
Thanks!
Budget is the label name.
Everything works great except for the fact that I can't get it to display the cents.
1900 displays as "$1,900."
1900.00 displays as "$1,900."
No matter what is entered into the Excel sheet (the cells are also formatted as $##,###.## and it shows up correctly in the sheet) the label caption will not show what is after the decimal point.
Code:
Budget = " " & Format(ws.Cells(SelectedRow, 34).Value, "$##,###.##")
Thanks!