Obtain the data source Axis Title

G

Gilles P (FR)

Hello,

With standard interactive ExcelGraph, I create a title of axis wich is the
cell value of a worksheet
by a formula "=Sheet1!R1C1"
To obtain an axe title linked with the cell value

How with VBA can i read this formula ?
the property "Axes(xlValue, xlPrimary).AxisTitle.Text " give the value of
R1C1 and not the formula ?

Thanks

Gilles PROVOST (FR)
 
A

Andy Pope

Hi,

Try this with an active chart,

msgbox ExecuteExcel4Macro("GET.FORMULA(""Title"")")

Apparently does not work in xl2007.

Cheers
Andy
 

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