Talk About Network

Google





Mac > Excel Office for Mac > Applescript Que...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 5873 of 6965
Post > Topic >>

Applescript Question: adding a new button to a toolbar...

by Andrey_Kazak@[EMAIL PROTECTED] Jul 8, 2008 at 07:53 AM

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: intel

Hallo!

I use version 12.1.1. I write an applescript in order to add a new button
to my "Custom" toolbar:

tell application "Microsoft Excel"
  set newItem to make new command bar button at command bar "Tools"
end tell

(this is a part of example from page 30 of "Excel 2004 AppleScript
Reference")

When I run this script I get the following error from Script Editor:
"Microsoft Excel got an error: Can't make class command bar button."...

What is the problem?
How can I correct it?
 




 1 Posts in Topic:
Applescript Question: adding a new button to a toolbar...
Andrey_Kazak@[EMAIL PROTE  2008-07-08 07:53:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 1:38:01 PST 2009.