Re:Dismissing Excel 2004 Project Gallery
Re:Dismissing Excel 2004 Project Gallery
- Subject: Re:Dismissing Excel 2004 Project Gallery
- From: trinko <email@hidden>
- Date: Wed, 26 May 2004 19:08:58 -0700
try
tell application "Microsoft Excel"
launch
set the startup dialog to false
set z to make new workbook
activate
end tell
that seems to work for me. it launches excel makes a new workbook,
didn't try it but i assume opening a document would work as well and
after all your script needs to work with something, and then brings
excel to the front. the last two commands are unnecessary i think.
Message: 3
Date: Tue, 25 May 2004 14:38:02 -0700
Subject: Dismissing Excel 2004 Project Gallery
From: "Patrick D. Fox" <email@hidden>
To: AppleScript Users <email@hidden>
Using Mac OS 10.3.3 and Microsoft Excel 2004 (11.0)
Is there any way, via AppleScript, to detect when Excel is displaying the
"Project Gallery - New" window/dialog and then be able to dismiss it?
(I realize you can bypass the Project Gallery by setting Excel preferences
or by telling Excel to "launch" if it is not running. What I'm trying to do
is accommodate times when the user may have manually launched Excel and has
left the Project Gallery displayed and then runs an AppleScript that
manipulates Excel. If the Project Gallery is left open, a script that opens
a workbook, for example, will fail with 'Excel...doesn't understand the open
message' error message.)
Thanks in advance for any suggestions.
Patrick
--
tom trinko
http://members.aol.com/trinkos/basepage.html
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.