setting currency symbol in vba

T

thomas donino

Using number formatting you can set a currency symbol in a cell
like below for the euro. How is it done in vba?

€ 72.80
 
G

Gary''s Student

From the Recorder:

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 9/11/2009 by James Ravenswood
'

'
Selection.NumberFormat = "[$€-2] #,##0.00"
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top