A
aemq000
Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel
I want to format the axis numbers to Bookman Old Style font size 18 using Applescript. I can do the titles (see below) but not the numbers on the axis. Everything else in my script works, but I also can't figure out how to set the weight of the axis line (I want it to be darker).
Here is the first part of it:
tell application "Microsoft Excel"
activate chart
tell active chart
set chart type to xy scatter lines no markers
tell its lines
set weight to 7
end tell
--'Add Titles and Format Chart and Axes
set has title to true
tell its chart title -- needs 'its !!
set caption to "T"
tell font object
set name to "Bookman Old Style"
set font size to 18
set bold to false
end tell
end tell
set categoryAxis to get axis axis type category axis ¬
which axis primary axis
tell categoryAxis
set has title to true
set has major gridlines to true
set has minor gridlines to true
tell its axis title -- needs 'its' !!
set caption to "X "
tell font object
set name to "Bookman Old Style"
set font size to 18
set bold to false
end tell
end tell
end tell
any help would be wonderful...
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel
I want to format the axis numbers to Bookman Old Style font size 18 using Applescript. I can do the titles (see below) but not the numbers on the axis. Everything else in my script works, but I also can't figure out how to set the weight of the axis line (I want it to be darker).
Here is the first part of it:
tell application "Microsoft Excel"
activate chart
tell active chart
set chart type to xy scatter lines no markers
tell its lines
set weight to 7
end tell
--'Add Titles and Format Chart and Axes
set has title to true
tell its chart title -- needs 'its !!
set caption to "T"
tell font object
set name to "Bookman Old Style"
set font size to 18
set bold to false
end tell
end tell
set categoryAxis to get axis axis type category axis ¬
which axis primary axis
tell categoryAxis
set has title to true
set has major gridlines to true
set has minor gridlines to true
tell its axis title -- needs 'its' !!
set caption to "X "
tell font object
set name to "Bookman Old Style"
set font size to 18
set bold to false
end tell
end tell
end tell
any help would be wonderful...