NumberFormat

R

RBeau

I am working in Excel. I have a spreadsheet whereby when you click on a flag,
it changes data fields as well as changes currency. My method has worked well
in the past, but I am having a problem with Korean.

If I record a macro - select a cell, go to format, change currency to
Korean, it works fine - formats correctly - â‚©5,000.

However, if I take that same code and place in a macro, I get ?5000 instead.

The code I am using is: Selection.NumberFormat = "[$?-412]#,##0"

Is there are reason that the results would be different?

Thanks in advance for any advice or suggestions you may have.
 
P

Paul Herber

I am working in Excel. I have a spreadsheet whereby when you click on a flag,
it changes data fields as well as changes currency. My method has worked well
in the past, but I am having a problem with Korean.

If I record a macro - select a cell, go to format, change currency to
Korean, it works fine - formats correctly - ?5,000.

However, if I take that same code and place in a macro, I get ?5000 instead.

The code I am using is: Selection.NumberFormat = "[$?-412]#,##0"

Is there are reason that the results would be different?

Thanks in advance for any advice or suggestions you may have.

You need to ask in an Excel group, this one is for Visio.
 

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