EXCEL FORMULAS: Problems With Language

Belias
Member Posts: 2,998
I launch a process which create formulas in excel cells.
The problem is that if I have an english excel and i try to put an italian formula ('SOMMA' instead of 'SUM') excel doesn't recognise it.
How can I avoid this?
(I don't want to use an option to choose the language and then create both formula string).
The problem is that if I have an english excel and i try to put an italian formula ('SOMMA' instead of 'SUM') excel doesn't recognise it.
How can I avoid this?
(I don't want to use an option to choose the language and then create both formula string).
0
Answers
-
I have used
ExcelAppl.International(1)
to know the country/language (ExcelAppl is a variable pointing to 'Microsoft Excel 12.0 Object Library'.Application).
List of values it returns:Language Country code Countries/regions ------------------------------------------------------------- Arabic 966 (Saudi Arabia) Czech 42 (Czech Republic) Danish 45 (Denmark) Dutch 31 (The Netherlands) English 1 (The United States of America) Farsi 982 (Iran) Finnish 358 (Finland) French 33 (France) German 49 (Germany) Greek 30 (Greece) Hebrew 972 (Israel) Hungarian 36 (Hungary) Indian 91 (India) Italian 39 (Italy) Japanese 81 (Japan) Korean 82 (Korea) Norwegian 47 (Norway) Polish 48 (Poland) Portuguese (Brazil) 55 (Brazil) Portuguese 351 (Portugal) Russian 7 (Russian Federation) Simplified Chinese 86 (People's Republic of China) Spanish 34 (Spain) Swedish 46 (Sweden) Thai 66 (Thailand) Traditional Chinese 886 (Taiwan) Turkish 90 (Turkey) Urdu 92 (Pakistan) Vietnamese 84 (Vietnam)
This way, you don't need to ask the user which language version they use.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions