Solved

VBA Chart Object Probably Simple!!??

Posted on 2003-12-01
4
330 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help Required 2 56
Object Oriented Programming, C#, referencing, scoping. 13 101
Ruby or Python 7 130
Best laptop programming computer for Windows development 14 86
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

732 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