Relocate Value Axis Title

C

Chip

I an having issues with the value axis title appearing in different locations
depending on jow many data series are in a chart. I have tried a few things,
most recently the following line of code:

ActiveChart.Axes(xlValue).AxisTitle.Left = ActiveChart.PlotArea.Left + 10

It works about 90% of the time. When I increased the number of data series
to seven, the title is back inside the plot area.
Any suggestions?
 
J

Jon Peltier

What version of Excel?

On occasion with chart VBA, it helps to run the command twice, that's right,
copy the line and paste it right after itself, so it executes twice.

- Jon
 
C

Chip

Thanks, Jon.
I am using XP, my client has 2003.
I'll try out your suggestion.
Great website, by the way!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top