E
Ed Zachary
I've tried the Excel2004AppleScriptRef.pdf sample code on page 30, but
get an error "can't make class command bar button". How does one do
that - create a new button? Here's the code:
tell application "Microsoft Excel"
set newItem to make new command bar button at command bar "Tools"
set begin group of newItem to true
set caption of newItem to "Make Report"
end tell
get an error "can't make class command bar button". How does one do
that - create a new button? Here's the code:
tell application "Microsoft Excel"
set newItem to make new command bar button at command bar "Tools"
set begin group of newItem to true
set caption of newItem to "Make Report"
end tell