Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Software language version discrepancies

Hi,
could somebody help me?

I create Excel statistics from Lotus Notes, here is part of code:

....
StatsSheet.xlApp.Cells(2, 8).Formula = "=YEAR(ActivityDate)"
StatsSheet.xlApp.Cells(2, 9).Formula =
"=1+INT((ActivityDate-DATE(YEAR(ActivityDate+4-WEEKDAY(ActivityDate+6)),1,5)+WEEKDAY(DATE(YEAR(Ac tivityDate+4-WEEKDAY(ActivityDate+6)),1,3)))/7)"
StatsSheet.xlApp.Cells(2, 11).Formula = "=VLOOKUP(F2, OFFSET(OZ_Table, 0,
2), 9, FALSE)"
.....
StatsSheet.Cells(TargetRow + 1, 3).Formula = "=SUM(" &
xlApp.Range(xlApp.Cells(PrvyRiadok, 3), xlApp.Cells(TargetRow,
3)).Address(False, False) & ")"
.....

StatsSheet.xlApp.Cells(TargetRow, 3).FormulaArray = "=SUM((" &
xlApp.Range(xlApp.Cells(2, 2), xlApp.Cells(TargetRow - 2, 2)).Address &
"=""Celkem"")*(" & xlApp.Range(xlApp.Cells(2, 3), xlApp.Cells(TargetRow - 2,
3)).Address(False, False) & "))"
....

Everythink work fine except line with .FormulaArray if it is run on CZECH
version of Excel.
Excel internally translate formulas (YEAR, VLOOKUP, SUM ...) - but not in
..FormulaArray ;-(

So I need to find out Language version of running Excel - is there any
posibility to find it out ?

Thanks to all in advance.

Vlado
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
Windows version language and Excel version language Jac Tremblay[_4_] Excel Programming 3 July 1st 06 04:04 PM
Can I download Microsoft Query? Missing software for my Version. Tracie Excel Discussion (Misc queries) 1 January 9th 05 04:11 PM
Determining Language Version of Excel Paul Excel Programming 4 December 10th 04 03:35 PM
need to find a software version matrix utility SMS Excel Programming 1 October 28th 04 08:08 PM
language version excel masterflasher[_2_] Excel Programming 1 September 16th 04 02:20 PM


All times are GMT +1. The time now is 10:37 AM.

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"