Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Programmatically Access to Symbol Dropdown in Format Cells Dialog
I pass a string to the property Range.NumberFormat to set the format of
a cell. So if I want format a cell with the value of "10" as a USD currency, I pass the string, "$00.00". Instead of hard-coding the dollar sign in the string, is there a way to set the symbol by programmatically accessing whatever fills in the symbol dropdown in the Format Cells dialog? Can, I in other words, set the format of the string to "00.00" and then tell Excel to use the English U.S. currency and get the "$" symbol added to the format without actually setting the dollar sign directly? I need to support multiple currencies so this is why I would like to just pass the ISO currency identifier (for example, USD or EUR) and not the actual currency character. Is this at all possible? It doesn't seem to be available through the Range object. - Ed |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Format cells dialog | Excel Discussion (Misc queries) | |||
how to programmatically access excel services dialog in excel 2007 | Excel Discussion (Misc queries) | |||
No Format Cells dialog box | Excel Discussion (Misc queries) | |||
format cells dialog box does not come up | Excel Discussion (Misc queries) | |||
When I select "format cells", the format dialog box does not disp. | Excel Worksheet Functions |