Re: Saving in Excel 2008
Re: Saving in Excel 2008
- Subject: Re: Saving in Excel 2008
- From: Shane Stanley <email@hidden>
- Date: Thu, 12 Feb 2009 10:18:34 +1100
- Thread-topic: Saving in Excel 2008
On 12/2/09 10:03 AM, "Deivy Marck Petrescu" <email@hidden> wrote:
> save document 1 in (path to file as string)
> save document 1 as (path to file as string)
> save workbook as filename (path to file as string)
> save workbook as (path to file as string)
> save workbook as workbook filename (path to file as string)
> save workbook as workbook (path to file as string)
> save workbook 1 in path to file as string)
> save as ....
Be careful with document 1 -- it might not be what you think (it's based on
opening order). Here are a couple of working examples:
set deskPath to path to desktop as Unicode text
save workbook as active workbook filename (deskPath & "test1.xls")
save as sheet 1 of workbook 1 filename (deskPath & "test1.txt") file
format text Mac file format
--
Shane Stanley <email@hidden>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
_______________________________________________
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