+ Reply to Thread
Results 1 to 3 of 3

Test whether or not a named SeriesCollection exists?

  1. #1
    Forum Contributor
    Join Date
    03-05-2007
    Location
    Falmouth, VA now, Palm Bay, FL for 2 yrs, was Colorado Springs, CO for ten years; Cedark Park, TX; Zeeland, MI; Wilmette, IL; Princeton Junction, NJ; NY, NY
    MS-Off Ver
    365
    Posts
    593

    Test whether or not a named SeriesCollection exists?

    In part trying to solve a larger problem I am trying to find out how to see if a SeriesCollection that has been named exists so when the corresponding toggle button it clicked it turns on or off the correct corresponding dataseries.

    When I create a series I use something like:

    Please Login or Register  to view this content.
    Where the range "tblJim[Quizes]" contains the quiz scores which are the data series pointes and "=Data!$C$6:$C$35" has the respective dates.

    When that toggle button is clicked I need to test if the SeriesCollection "Jim" exists so if it does I can delete it and if not, create it.

    Also, as much as I hate to multi-subject but usually do anyway, I am wondering if there is good example of doing the same ends by a different strategy - a chart with everyone on it and by applying data filters to the dataset I would turn on and off people's data. Thoughts?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Test whether or not a named SeriesCollection exists?

    Hi,

    Re the last part of the Q. Have you considered a Pivot Chart?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    03-05-2007
    Location
    Falmouth, VA now, Palm Bay, FL for 2 yrs, was Colorado Springs, CO for ten years; Cedark Park, TX; Zeeland, MI; Wilmette, IL; Princeton Junction, NJ; NY, NY
    MS-Off Ver
    365
    Posts
    593

    Re: Test whether or not a named SeriesCollection exists?

    No, I hadn't... I have become familiar with pivot tables (though not completely comfortable), but it seems this could be a very nice solution. Thank-you!

+ 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. Test if subtotal exists
    By jmicdk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-03-2016, 12:51 PM
  2. Test If List Exists
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2009, 08:03 PM
  3. Test if sheet exists
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-12-2009, 12:12 PM
  4. Names.add - Test to see if name already exists?
    By Craigm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-01-2006, 10:10 AM
  5. [SOLVED] How to test if a DLL (library) exists
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2005, 04:05 PM

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