Excel can't close?
Excel can't close?
- Subject: Excel can't close?
- From: Dave Balderstone <email@hidden>
- Date: Wed, 28 Sep 2005 10:15:09 -0600
Tiger 10.4.2, Excel 11.2 (050714). This script fails...
tell application "Microsoft Excel"
close document 1 saving no
end tell
--> Microsoft Excel got an error: document 1 doesn't understand the
close message.
As does:
tell application "Microsoft Excel"
close front document saving no
end tell
--> Microsoft Excel got an error: document 1 doesn't understand the
close message.
but this works:
tell application "Microsoft Excel"
close every document saving no
end tell
I'm confused... Does anyone have an explanation?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden