Solved

VBA Chart Object Probably Simple!!??

Posted on 2003-12-01
4
331 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

718 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