<code>On this page:
http://msdn.microsoft.com/en-us/library/aa224873(v=office.11).aspx
The example for NumberFormat goes like this:
Worksheets("Sheet1").Range("A17").NumberFormat = "General"
However the string "General" seems incorrect when you have installed a non-English Microsoft Office version. That line above fails by raising an exception.
What is the correct way to set this property in a language-agnostic fashion?
Note: I am interested only in setting that one particular value
</code>
http://msdn.microsoft.com/en-us/library/aa224873(v=office.11).aspx
The example for NumberFormat goes like this:
Worksheets("Sheet1").Range("A17").NumberFormat = "General"
However the string "General" seems incorrect when you have installed a non-English Microsoft Office version. That line above fails by raising an exception.
What is the correct way to set this property in a language-agnostic fashion?
Note: I am interested only in setting that one particular value
</code>