H
Hammer_757
Second question: In a macro that sets all the text properties on th
active chart the line
“ActiveChart.Axes(xlValue, xlSecondary).AxisTitle.Select”
Returns an error “method axis of object chart fail” if the active char
does not have a secondary axis. In this workbook some charts do an
some don’t. I could write two macros… but I’m sure there is a way t
make this work. I think what is needed is to write an “IF” statemen
that checks to see if a secondary axis exists and runs the process i
it exists and skips it if it doesn’t.
So far I have not been able to find a method (hope Im using the righ
term) to check if something exists
Any help will be greatly appreciated
Rober
active chart the line
“ActiveChart.Axes(xlValue, xlSecondary).AxisTitle.Select”
Returns an error “method axis of object chart fail” if the active char
does not have a secondary axis. In this workbook some charts do an
some don’t. I could write two macros… but I’m sure there is a way t
make this work. I think what is needed is to write an “IF” statemen
that checks to see if a secondary axis exists and runs the process i
it exists and skips it if it doesn’t.
So far I have not been able to find a method (hope Im using the righ
term) to check if something exists
Any help will be greatly appreciated
Rober