A
Andrey_Kazak
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?
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?