Can't get name of Window 1 in Excel
Can't get name of Window 1 in Excel
- Subject: Can't get name of Window 1 in Excel
- From: Robert Poland <email@hidden>
- Date: Sat, 1 Oct 2005 09:50:24 -0600
Hi,
The following script fails with MS Excel version X, "Can't get name
of Window 1.".
It works with other applications.
Is there a simple workaround?
Tia,
-- Application Excel has been opened and window 1 is active. Script
run from Smile.
tell application "Microsoft Excel"
Activate
delay 1
set fileName to Name of Window 1
display dialog "fileName = " & fileName
end tell
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
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