• 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: Save As in Excel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Save As in Excel


  • Subject: Re: Save As in Excel
  • From: Stan Cleveland <email@hidden>
  • Date: Fri, 28 Dec 2007 11:19:44 -0800
  • Thread-topic: Save As in Excel

On 12/28/07 5:36 AM, Justin Laden wrote:

> Could someone provide me with a sample of the correct format for
> saving in Excel?  I have a .log file that my AS opens in Excel--I'd
> like it to close by saving it as an .xls file.  Any help would be
> appreciated.  Thanks.

Assuming Excel 2004, this should work:

tell application "Microsoft Excel"
    save in "MacOS:Users:stanc:Desktop:MyFile.xls" as workbook normal
end tell

HTH,
Stan C.


 _______________________________________________
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: 
 >Save As in Excel (From: "Justin Laden" <email@hidden>)

  • Prev by Date: Re: Modifying incoming mail subject
  • Next by Date: sh-appscript (was: Re: Modifying incoming mail subject)
  • Previous by thread: Save As in Excel
  • Next by thread: Safari Scripting Help (Newbie stuff) Complete!
  • Index(es):
    • Date
    • Thread