Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Excel Language bug formulas

Here is my problem:
I am trying to write a formula in a workbook using VB.
Unfortunatly, my users are from 5 different country, so I
can't just write "=SUM($A$1:$R$1)", in other language the
sum formulas simply do not exist...

Ex:The "SUM" function is "Somme" in french

I do not want to make selection depending on which
langage the user have on Excel... there must be a way to
call those formulas with a Tag, an ID or something...

Anybody got an idea???

Many thank!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default Excel Language bug formulas

Hi,

How do you write the formula to the cell. Which property are you using, Formula or FormulaLocal?

If you use formulalocal property, you get some errors in cell.

There are four properties, called;

Formula, FormulaLocal, FormulaR1C1, FormulaLocalR1C1.

I suggest you, to use Formula or FormulaR1C1 with VB. When you write some formulas to cell by using these properties, Excel automaticaly fills other three with local equvalents.

For Example

if you excecute following code in a French Version of Excel, You will see on Cell A2 "=SOMME($A$1:$R$1)"

Sub Test()
ActiveSheet.Range("A2").select
ActiveCell.Formula="=SUM($A$1:$R$1)"
End Sub
--
Regards

Haldun Alay

To e-mail me, please remove AT and DOT from my e-mail address.



"Stef C" , iletide sunu yazdi ...
Here is my problem:
I am trying to write a formula in a workbook using VB.
Unfortunatly, my users are from 5 different country, so I
can't just write "=SUM($A$1:$R$1)", in other language the
sum formulas simply do not exist...

Ex:The "SUM" function is "Somme" in french

I do not want to make selection depending on which
langage the user have on Excel... there must be a way to
call those formulas with a Tag, an ID or something...

Anybody got an idea???

Many thank!
  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Excel Language bug formulas

Hi I have hunce that you are setting the Cell.Value = "=SUM
($A$1:$R$1)" but you really want to be setting the
Cell.Formula="=SUM($A$1:$R$1)" your users in France and
any where else in the world would see there respective
locale function. The reason is that if you create a
summation via the menu and then save the file, close Excel
and change your regional settings and then reopen the file
you'll see the formula has changed its name, try English
to French to see Sum change to Somme or to German Summe.

Hope this help
regards
KM

-----Original Message-----
Here is my problem:
I am trying to write a formula in a workbook using VB.
Unfortunatly, my users are from 5 different country, so I
can't just write "=SUM($A$1:$R$1)", in other language the
sum formulas simply do not exist...

Ex:The "SUM" function is "Somme" in french

I do not want to make selection depending on which
langage the user have on Excel... there must be a way to
call those formulas with a Tag, an ID or something...

Anybody got an idea???

Many thank!
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change German language data into Eglish Language in a colum Execel work sheet language problems Excel Discussion (Misc queries) 1 October 29th 07 09:59 PM
Insertion of formulas in foreign language in english version of ex Pedro Excel Discussion (Misc queries) 0 May 3rd 06 12:48 AM
language support in excel sheet using a third party language tool seema Excel Worksheet Functions 0 March 13th 06 06:06 AM
How can I programatically change the language in the language bar? Roy Barr Excel Discussion (Misc queries) 0 March 14th 05 09:47 PM
How to change the excel format from language to language? zee Excel Discussion (Misc queries) 2 January 30th 05 06:51 PM


All times are GMT +1. The time now is 11:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"