Problem with Excel97/Chart/Formula

  • Thread starter Tobias Schittkowski
  • Start date
T

Tobias Schittkowski

Hi!

I have an application written in VB 6.0 in which I am creating an Excel Chart.
The code below works fine with Excel 2003, but it fails on Excel 97.

Set xlsSeries = ActiveChart.SeriesCollection.NewSeries
xlsSeries.Formula = sFormula

Any Ideas?
Tobias
 
P

Peter T

Hi Tobias,

Your code works fine for me in Excel 97. With one series already existing,
sFormula being "empty" gives me =SERIES(,,{1},2) when I select it.

Maybe xl97 cannot evaluate your formula, what ever it is.

Regards,
Peter
 

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

Similar Threads


Top