[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Excel VBA Gather attributes of selected chart

Posted on 2014-08-12
2
Medium Priority
?
262 Views
Last Modified: 2014-08-16
Hi

What VBA code would I use to gather all the attributes of a chart?

In other words the XAxis, YAxis, Series Data, Chart type etc
0
Comment
Question by:Murray Brown
2 Comments
 
LVL 54

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 40257732
Hi,

You could use this code and then browse the locals VBE Window

Sub macro()
Set chrt = ActiveChart
chrtType = ActiveChart.ChartType
Set chrtAxes = ActiveChart.Axes
Set chrtSeries = ActiveChart.SeriesCollection
End SubEE
EDIT edited code
Regards
0
 

Author Closing Comment

by:Murray Brown
ID: 40265345
Thanks very much
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question