Solved

VBA Chart Object Probably Simple!!??

Posted on 2003-12-01
4
325 Views
Last Modified: 2013-11-13
Hi Folks,

I am currently writing one of my first VBA applications which is used to display different Charts. The source data for the charts is contained in a worksheet. I would like to be able to display the charts on a Userform but don't know how to!!

I have tried placing it in Frames, Image Boxes and Chart area object using the following code, but this does not work! ...

ActiveChart.Location Where:=xlLocationAsObject, _ Name:=FrmGraph.ChtGraphArea

Is there a way to display charts in Userforms? Please help. Thanks
0
Comment
Question by:craigpike
4 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 75 total points
ID: 9858485
You should add a chart component, e.g. Microsoft Chart Control, to the Forms toolbox (via Tools/Additional Controls).
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB 6.0 printer how to align 6 57
strCopies  challenge 17 81
Definitions and default visual studio colors 5 58
Filename to be appended with DateTimeof Download 3 40
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

932 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now