PC Review


Reply
Thread Tools Rate Thread

counting charts

 
 
=?Utf-8?B?ZHN0aWVmZQ==?=
Guest
Posts: n/a
 
      1st Aug 2005
I am trying to write the code that counts the charts (embedded charts) on a
worksheet.

thank you
 
Reply With Quote
 
 
 
 
optionbase1
Guest
Posts: n/a
 
      2nd Aug 2005

use the

for n = 1 to worksheets.count
numberOfCharts = numberOfCharts + worksheets(n).charts.count
next n


(check my syntax ...)


--
optionbase1
------------------------------------------------------------------------
optionbase1's Profile: http://www.excelforum.com/member.php...o&userid=25212
View this thread: http://www.excelforum.com/showthread...hreadid=391999

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      2nd Aug 2005
Worksheets("Sheet1").ChartObjects.Count

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


dstiefe wrote:
> I am trying to write the code that counts the charts (embedded charts) on a
> worksheet.
>
> thank you

 
Reply With Quote
 
=?Utf-8?B?ZHN0aWVmZQ==?=
Guest
Posts: n/a
 
      2nd Aug 2005
Thank you!!

"Jon Peltier" wrote:

> Worksheets("Sheet1").ChartObjects.Count
>
> - Jon
> -------
> Jon Peltier, Microsoft Excel MVP
> Peltier Technical Services
> Tutorials and Custom Solutions
> http://PeltierTech.com/
> _______
>
>
> dstiefe wrote:
> > I am trying to write the code that counts the charts (embedded charts) on a
> > worksheet.
> >
> > thank you

>

 
Reply With Quote
 
=?Utf-8?B?ZHN0aWVmZQ==?=
Guest
Posts: n/a
 
      2nd Aug 2005
Thank you!!

"optionbase1" wrote:

>
> use the
>
> for n = 1 to worksheets.count
> numberOfCharts = numberOfCharts + worksheets(n).charts.count
> next n
>
>
> (check my syntax ...)
>
>
> --
> optionbase1
> ------------------------------------------------------------------------
> optionbase1's Profile: http://www.excelforum.com/member.php...o&userid=25212
> View this thread: http://www.excelforum.com/showthread...hreadid=391999
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to run on all files in a folder but exclude sheets with PivotTable, Pivot Charts and Charts Nasir Microsoft Excel Programming 16 11th Mar 2011 04:13 PM
Aligning tick marks and labels on line charts or scatter charts AdamK Microsoft Excel Discussion 2 18th May 2009 06:20 PM
link excel charts to web pages and update charts automatically Signguy Microsoft Excel Charting 1 22nd Apr 2008 08:29 PM
Copy/Paste Charts; Define Destination of Charts in PowerPoint ryguy7272 Microsoft Excel Programming 2 24th Jan 2008 08:04 PM
Distribute dynamically charts with linked data as stand-alone charts Richard Microsoft Excel Programming 2 31st Mar 2004 05:16 PM


Features
 

Advertising
 

Newsgroups
 


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