HELP! Charts collection not found - baffled and bewildered pls help

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

I am transferring an old procedureinto a new application and it works fine
in the old one on the same machine ( a laptop running XP Pro). I simply want
to add a chart programatically with:

Charts.Add

yet in the new one it doesn't appear in the dropdown prompt (i.e. when I
type Charts. Add is not in the choices presented).

When I try to run the code it says 'method or data member not found'.


Any help appreicated, kind regards, Mark
 
Hi Mark
only a guess: Check the references set in the VBA Editor. They should
include a reference to the Excel object library (goto 'Tools -
References' to check this)
 

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

Back
Top