View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.charting
newbie newbie is offline
external usenet poster
 
Posts: 137
Default VBA code to chaneg axis text on a chart?

Andy Pope rocks!!!!!!!!!!!!!!!!!!!!!!!
Again you saved the day!
It works! Thank you sooooooooo much!!!


"Andy Pope" wrote:

Hi,

These work for me,

activechart.Axes(xlcategory,xlPrimary).hastitle=tr ue
activechart.Axes(xlcategory,xlPrimary).axistitle.t ext="Category Axis"
activechart.Axes(xlvalue,xlPrimary).hastitle=true
activechart.Axes(xlValue,xlPrimary).axistitle.text ="Value Axis"

What exactly does 'doesn't work' mean. Do you get an error message?

Cheers
Andy

On 24/03/2010 20:35, Newbie wrote:
I've tried this but it doesn't work:

.Axes(xlValue).AxisTitle.Text = "EE"

Thanks in advance to whomever can help!


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

.