Re: Fun with Excel
Re: Fun with Excel
- Subject: Re: Fun with Excel
- From: Deivy Petrescu via AppleScript-Users <email@hidden>
- Date: Wed, 6 May 2020 18:37:36 -0400
> On May 6, 2020, at 17:51 , David Crowe via AppleScript-Users
> <email@hidden> wrote:
>
> This code used to work:
>
>
> tell application "Microsoft Excel”
> ... try
> save
> on error errmsg number errnum
> tell me
> activate
> display dialog "Cannot save file. " & errmsg &
> " (" & errnum & ")"
> end tell
> end try
> end tell
> end tell
>
>
>
> Regards,
> David Crowe
>
David, it has been a while I’ve scripted Excel, but did you try
close x saving true
Since x exists alread.
I think I remember using this the past, although, I’d deny it if I have to
assure its trueness :-)
PS. We are a bunch of great guys(his/her/hishers/not his nor hers) in this
list, however, i’d recommend you don’t put a path as the one you added to the
top of the script.
We have no reason to know your computers tree, and you have no reason to
provide us with it.
Just a suggestion.
Deivy Petrescu
email@hidden
_______________________________________________
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: | |
| >Fun with Excel (From: David Crowe via AppleScript-Users <email@hidden>) |