Change AxisTitle of PowerPoint Chart

N

Nitin Sharma

Can anyone give me some sample code to change the AxisTitle text of the Chart
in powerpoint. I tried using the Axes method to get the Axis object of the
Graph, but when I try to set the AxisTitle.Text of the axis object it throws
a COM Exception.

Is there anyone who can help me out in this. Any help / clue is welcome.

Thanks
Nitin Sharma
 
S

Steve Rindsberg

Nitin Sharma said:
Can anyone give me some sample code to change the AxisTitle text of the Chart
in powerpoint. I tried using the Axes method to get the Axis object of the
Graph, but when I try to set the AxisTitle.Text of the axis object it throws
a COM Exception.

I don't know offhand and haven't the time right now to test it but whenever you
need to work something out in MSGraph, create a similar chart in Excel and
record a macro while you change whatever it is you need to change.

As often as not, that'll point you in the right direction.



--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Featured Presenter, PowerPoint Live 2004
October 10-13, San Diego, CA www.PowerPointLive.com
================================================
 

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