+ Reply to Thread
Results 1 to 3 of 3

Exclude certain charts from macro loop

  1. #1
    Registered User
    Join Date
    11-09-2006
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    200

    Exclude certain charts from macro loop

    Hi,
    I have this macro which loops through all open charts and adjusts the axis for them...Can it be made to exclude "chart 10" and "chart 1"? I assume chart id can be taken from selection pane?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Exclude certain charts from macro loop

    For example:

    Please Login or Register  to view this content.
    Note: I don't see any point to your FirstTime variable.
    Rory

  3. #3
    Registered User
    Join Date
    11-09-2006
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    200

    Re: Exclude certain charts from macro loop

    superb thanks - this is a borrow macro modified it from another version - do you think this firstime can be safely removed? can you please help me do this?

+ 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] How to exclude sheets from this macro loop
    By barman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-11-2020, 08:08 PM
  2. Help needed to loop a macro and create many charts through a data range
    By JimFarr in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-22-2018, 07:23 PM
  3. [SOLVED] Macro to loop throug the workbook and create charts
    By dobracik in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 03-23-2015, 03:27 PM
  4. [SOLVED] Macro to loop through the sheet and create Line charts
    By dobracik in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2015, 01:11 PM
  5. How to exclude #N/A from charts
    By jennyblack9 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-22-2014, 02:56 PM
  6. How to exclude #N/A from charts
    By jennyblack9 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 09-16-2014, 08:51 AM
  7. [SOLVED] loop macro to create different charts by selecting different x-axis data
    By burnmeister in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2013, 10:38 AM

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