• 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: Fun with Excel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Fun with Excel
  • Next by Date: Re: AppleScript-Users Digest, Vol 17, Issue 56
  • Previous by thread: Fun with Excel
  • Next by thread: Re: AppleScript-Users Digest, Vol 17, Issue 56
  • Index(es):
    • Date
    • Thread