• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Excel 2004 issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Excel 2004 issue


  • Subject: Re: Excel 2004 issue
  • From: Yvan KOENIG <email@hidden>
  • Date: Sun, 20 Dec 2009 12:52:36 +0100


Le 20 déc. 2009 à 10:55, Axel Luttgens a écrit :


Le 20 déc. 2009 à 00:36:22, Paul Berkowitz a écrit :

[...]

I'm very curious to know whether that "=COUNTIF(C8:C600,4.2)" works in Excel
or whether there is a workaround that works.

Hello Paul,

It doesn't seem to work here (Excel 2004, 11.5.6 (090928) - System: 10.6.2, french, "," as decimal separator); making use of it is silently discarded:

tell application "Microsoft Excel"
set formula of selection to "9999"
formula of selection
--> "9999"
set formula of selection to "=COUNTIF(B1,4.2)"
formula of selection
--> "9999"
set formula of selection to "=COUNTIF(B1,A2)"
formula of selection
--> "9999"
set formula of selection to "=COUNTIF(B1;4,2)"
formula of selection
--> "=COUNTIF(B1;4,2)"
formula local of selection
--> "=NB.SI(B1;4,2)"
set formula of selection to "=COUNTIF(B1;A2)"
formula of selection
--> "=COUNTIF(B1;A2)"
formula local of selection
--> "=NB.SI(B1;A2)"
end tell

It also appears that, in contradiction of Jan's experience, I have to make use of the semicolon as argument separator when building a formula. Go know...

Hi Axel,

if I read correctly, there is no contradiction. 
Jon wrote that he used the semi-colon when, as you does,  he used Excel 2004.
He was surprised by the fact that the same formula doesn't behave correctly with Excel 2008.
Given what I read, it seems that XL 2004 make a mixture between the English syntax and the 'French' one and that XL 2008 which requires the English syntax in AppleScript is more coherent.

Yvan KOENIG (VALLAURIS, France) dimanche 20 décembre 2009 12:51:52


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Excel 2004 issue (From: Paul Berkowitz <email@hidden>)
 >Re: Excel 2004 issue (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Excel 2004 issue
  • Next by Date: Re: Excel 2004 issue
  • Previous by thread: Re: Excel 2004 issue
  • Next by thread: Re: Excel 2004 issue
  • Index(es):
    • Date
    • Thread