Country Code Property Returns Wrong Value in Macro for Korea (827029)
The information in this article applies to:
- Microsoft Excel 2002
- Microsoft Office XP Multilingual User Interface Pack
SYMPTOMSIf a Microsoft Excel Visual Basic for Applications (VBA)
macro tries to use the international property of the application object, the
result for Korea may be incorrect. The result may be 1 (the country code for
the U.S.), instead of the Korean country code of 82.WORKAROUNDTo work around this problem, follow these steps:
- Click Start, and then click
Control Panel.
- Double-click Regional and Language
Options.
- On the Regional Options tab, click
Korean in the Standards and formats
area.
- In the Location area, click
Korea.
- On the Languages tab, in the
Language used in menus and dialogs list, click
Korean.
- Click OK.
- Restart the computer.
- Click Start, point to All
Programs, point to Microsoft Office Tools, and then
click Microsoft Office XP Language Settings.
- On the User Interface tab, in the
Display menus and dialog boxes list, click (same as
the system).
- In the Display Help in list, click
(same as the system).
- On the Enabled Languages tab, in the
Default version of Microsoft Office list, click
Korean.
- Click OK.
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 9/3/2003 |
---|
Keywords: | kbbug KB827029 |
---|
|