LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Language independent formulas

Hi.
I have a small program that creates by code a Excel file.
One of the cells is fill with a sum formula.

My problem is:

The program can be executed in machines that have Excel in Portuguese or
Excel in English, if the code fill the cell with Soma() when the Excel
file is created in Portuguese Excel the file is valid in any Excel,
however if the file is created in English Excel the cell have an error.

I also try to set the formula like SUM() but in this case I got the error
if the file is created in Portuguese Excel.

To create de formula in the cell I use the following code:
objWs.Cells(6, A).Formula = "=SOMA(A3:A5)"

Can anyone explain, how can I create a Excel file with formulas that are
independent from the language of the Excel in the machine that create the
file?

Thanks in advance.

Best regards
Sérgio Martins
 
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
Language independent Pivot settings Claude Excel Programming 1 May 18th 06 10:42 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 to write a language independent formula Jaime Stuardo Excel Programming 2 December 30th 05 12:57 PM
Excel Language bug formulas Stef C Excel Programming 2 November 12th 03 04:27 PM


All times are GMT +1. The time now is 11:18 PM.

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

About Us

"It's about Microsoft Excel"