• 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: Extracting data from a spreadsheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extracting data from a spreadsheet


  • Subject: Re: Extracting data from a spreadsheet
  • From: Mark Butcher <email@hidden>
  • Date: Sun, 28 Jul 2002 15:33:19 -0700

Paul Garfield wrote:

tell application "AppleWorks 6"
activate "contacts.xls"
-- set a fixed cell for test only
set cellNAME to "A2"

-- THIS IS THE BIT WHICH DOES NOT RESPOND
set x to contents of cell cellNAME

end tell

I think you are missing the reference to the spreadsheet of the window. Unfortunately, I cannot find the syntax, but it is something like:

set x to contents of cell cellNAME of front spreadsheet of window "contacts.xls"

HTH

MarkB
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Extracting data from a spreadsheet (From: Paul Garfield <email@hidden>)

  • Prev by Date: Re: scripting mail
  • Next by Date: Re: Bounding Rectangle
  • Previous by thread: Extracting data from a spreadsheet
  • Next by thread: Quark--setting current page
  • Index(es):
    • Date
    • Thread