Excel chart display in a form

N

needhelp

Hello,
I am just wondering how to display a excel chart into a form.
I was able to call my chart object in the VBA code as:

Dim temp As ChartObject

Set temp = Worksheets("ChartDisplay").ChartObjects(1)..

But should I be assigning that variable to an image to display on th
form? cuz going temp.visible doesnt work..


THanks
 
S

Stephen Bullen

Hi Needhelp,
I am just wondering how to display a excel chart into a form.
I was able to call my chart object in the VBA code as:

Dim temp As ChartObject

Set temp = Worksheets("ChartDisplay").ChartObjects(1)..

But should I be assigning that variable to an image to display on the
form? cuz going temp.visible doesnt work..

It's not entirely straightforward <g>, but the pastepicture example on
my web site shows you how and John Walkenbach (www.j-walk.com) has
another method.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.co.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top