• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1364
  • Last Modified:

Excel Error on ActiveSheet.ChartObjects("Chart 1""").Activate

Hi Experts,

How to fix this?
The image below shows the error I get when the macro attempts the line:
ActiveSheet.ChartObjects("Chart 1""").Activate
"Chart 1" is shown on the worksheet, as can be seen,
yet the macro cannot find it (stupid macro).
Google shows this is a common question, yet I haven't found a answer.

 Chart 1 shown, but not found, what gives?
0
AndyPandy
Asked:
AndyPandy
1 Solution
 
Dave BrettCommented:
Normally it would be

ActiveSheet.ChartObjects("Chart 1").Activate
in single quotes, not "Chart"""

Else pls post your file

Cheers

Dave
0
 
AndyPandyAuthor Commented:
Yes,  I found that same thing just after posting the question.  
The Macro recorder put those extra quotes in,  I do not know why.
Thank you
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now