FormatNumber

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.

Your question has been answered in the vba group where you posted 30
minutes ago.
 

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