Tell AppleScript to go to a specific window in Excel

Posted by Nick on Stack Overflow See other posts from Stack Overflow or by Nick
Published on 2010-05-19T16:04:58Z Indexed on 2010/06/09 16:02 UTC
Read the original article Hit count: 179

I've got a script that pulls information from an Excel(Mac Excel'04) spreadsheet, and processes it through a local database. My problem(which is temporary, pending a dedicated scripting machine w/ Excel '08) is when I need to work on another spreadsheet in Excel. I want to ensure that the AppleScript continues reading data from the correct spreadsheet.

Is there a way to pass reference to the specific Excel file in AppleScript, as opposed to just telling the Application in general? Or possibly just referencing the spreadsheet without having to have it open ... ?

© Stack Overflow or respective owner

Related posts about excel

Related posts about applescript