Re: Save As in Excel
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