G
Guest
The code below produces a msg box with a value formatted with 4 decimal
places and no dollar sign. How would I code it to 0 decimal places and a
dollar sign?
Sub GetBalance()
Dim x As String
Dim y As Currency
x = Range("B65536").End(xlUp).Activate ' does work
y = ActiveCell.Offset(, 4).Value
MsgBox y
End Sub
places and no dollar sign. How would I code it to 0 decimal places and a
dollar sign?
Sub GetBalance()
Dim x As String
Dim y As Currency
x = Range("B65536").End(xlUp).Activate ' does work
y = ActiveCell.Offset(, 4).Value
MsgBox y
End Sub