Leo_Polla_Psemata
Registered User.
- Local time
- Yesterday, 21:54
- Joined
- Mar 24, 2014
- Messages
- 364
Hi
The below formats a number to usd currency
Columns.NumberFormat = "$#,##0.00;-$#,##0.00"
What if we want euro ? I replaced the $ to € and doesn't work, it returns a big black question mark
Edit
I made a macro in excel,
it gave this line
"_([$€-x-euro2] * #,##0.00_);_([$€-x-euro2] * (#,##0.00);_([$€-x-euro2] * ""-""??_);_(@_)"
I copy paste in my line
.Range("O4", "Q" & i).NumberFormat = "_([$€-x-euro2] * #,##0.00_);_([$€-x-euro2] * (#,##0.00);_([$€-x-euro2] * ""-""??_);_(@_)"
and it works but it is too big too complicated, is this the only way ?
Why $ is so simple and euro a headache ??
The below formats a number to usd currency
Columns.NumberFormat = "$#,##0.00;-$#,##0.00"
What if we want euro ? I replaced the $ to € and doesn't work, it returns a big black question mark
Edit
I made a macro in excel,
it gave this line
"_([$€-x-euro2] * #,##0.00_);_([$€-x-euro2] * (#,##0.00);_([$€-x-euro2] * ""-""??_);_(@_)"
I copy paste in my line
.Range("O4", "Q" & i).NumberFormat = "_([$€-x-euro2] * #,##0.00_);_([$€-x-euro2] * (#,##0.00);_([$€-x-euro2] * ""-""??_);_(@_)"
and it works but it is too big too complicated, is this the only way ?
Why $ is so simple and euro a headache ??
Last edited: