+ Reply to Thread
Results 1 to 2 of 2

Activate chart on worksheet, without knowing chart name or index number

  1. #1
    Registered User
    Join Date
    08-16-2012
    Location
    Calgary, Alberta
    MS-Off Ver
    Office2011 (Mac)
    Posts
    16

    Activate chart on worksheet, without knowing chart name or index number

    Hello everybody,

    I am receiving many single sheet workbooks that contain a simple chart. These charts are produced by other people, have poor formatting and size. I have a macro that will resize the chart, and change the ChartStyle etc... BUT, only works if the Chart is "Chart1".

    My questions is, how can I have my macro activate the chart on a worksheet without knowing the Index# or the name?

  2. #2
    Registered User
    Join Date
    08-16-2012
    Location
    Calgary, Alberta
    MS-Off Ver
    Office2011 (Mac)
    Posts
    16

    Re: Activate chart on worksheet, without knowing chart name or index number

    Solution found.

    Since the chart is the only one on the worksheet, it must be the "leftmost" chart. Therefore, I was trying to activate it by using:
    Please Login or Register  to view this content.
    Instead, I needed to activate it this way:
    Please Login or Register  to view this content.
    Now this makes the miscellaneous single chart that appears on a worksheet the ActiveChart.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Chart SeriesCollection uses series name instead of index number
    By skysurfer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 11:46 AM
  2. Build a chart without knowing the exact the end of the table?
    By marlonsaveri in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-20-2011, 02:29 PM
  3. Change Index Number of Chart Objects
    By mimikli in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 03-17-2010, 10:00 AM
  4. Finding the internal index number of a Chart Series.
    By Phil Outram in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2008, 04:19 PM
  5. Replies: 2
    Last Post: 08-07-2006, 09:45 PM

Tags for this Thread

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