This code formats the selected range as currency with two decimal places.
VBA Code:
Sub FormatAsCurrency()
Selection.NumberFormat = "$#,##0.00"
End Sub
This code formats the selected range as currency with two decimal places.
VBA Code:
Sub FormatAsCurrency()
Selection.NumberFormat = "$#,##0.00"
End Sub