+ Reply to Thread
Results 1 to 5 of 5

counting charts

Hybrid View

  1. #1
    dstiefe
    Guest

    counting charts

    I am trying to write the code that counts the charts (embedded charts) on a
    worksheet.

    thank you

  2. #2
    Registered User
    Join Date
    07-13-2005
    Posts
    15
    use the

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


    (check my syntax ...)

  3. #3
    dstiefe
    Guest

    Re: counting charts

    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
    >
    >


  4. #4
    Jon Peltier
    Guest

    Re: counting charts

    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


  5. #5
    dstiefe
    Guest

    Re: counting charts

    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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1