Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 225
Default ActiveX Chart Properties in Excel 2000

Hi Eric,

What do you mean by "(via ActiveX)"?
Are you programming in the Excel VBA?
And where is the chart object lie in?
Is the chart you want to change in a sheet?
If so, you can do it via the ChartObject and Chart?
1. Resize Chart Object (Stretch out the entire chart both
horizontally and vertically)

Sub Test()
Dim co As ChartObject
Set co = Sheet1.ChartObjects(1)
co.Height = 100
co.Width = 100
Dim ss As Series
Set ss = ActiveChart.SeriesCollection(1)
ss.ChartType = xl3DArea
End Sub
2. Add Data Table to the Chart
3. Get Access to Series of Data in a Chart and be able to
Change the Chart Type for that Series Only

It seems that you want to create a dynamic chart.

Here are some links about creating dynamic Chart.
146055 Using Visual Basic to Create a Chart Using a Dynamic Range
http://support.microsoft.com/?id=146055
185177 XL98: How to Create a Dynamic Chart by Using Visual Basic
http://support.microsoft.com/?id=185177
193249 XL98: Using Visual Basic to Create a Chart Using a Dynamic Range
http://support.microsoft.com/?id=193249



Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Eric Kopsch"
Sender: "Eric Kopsch"
Subject: ActiveX Chart Properties in Excel 2000
Date: Thu, 25 Sep 2003 08:21:05 -0700
Lines: 12
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcODeKNsPfOEFv/iSrG0v07u4g/gRA==
Newsgroups: microsoft.public.excel.programming
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.excel.programming:418870
NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
X-Tomcat-NG: microsoft.public.excel.programming

I wanted to know how to get access programmatically (via
ActiveX) to Chart Properties/Methods in Excel.
Specifically, I have a need for the following:

1. Resize Chart Object (Stretch out the entire chart both
horizontally and vertically)
2. Add Data Table to the Chart
3. Get Access to Series of Data in a Chart and be able to
Change the Chart Type for that Series Only

Thanks for any assistance,
Eric


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Definitions for Activex control properties? Blue Max Excel Worksheet Functions 2 December 17th 08 01:15 AM
Member Properties defined in MSAS 2000 are not shown in Excel 2003 Abhishek Jain Excel Discussion (Misc queries) 0 May 7th 07 06:19 AM
Excel 2000 ActiveX Control Problem Andy Excel Discussion (Misc queries) 1 March 23rd 06 08:16 PM
How do I change activex control properties from a macro Billums Excel Discussion (Misc queries) 2 January 19th 06 01:21 PM
Missing ActiveX Frame control in Excel 2000 Judy Hopkins Excel Programming 0 July 30th 03 10:40 PM


All times are GMT +1. The time now is 12:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"