+ Reply to Thread
Results 1 to 2 of 2

Using variables to manipulate ranges for charts

  1. #1
    Registered User
    Join Date
    07-02-2015
    Location
    Virginia
    MS-Off Ver
    Version: 14.0.7147.5001 (64-bit)
    Posts
    1

    Using variables to manipulate ranges for charts

    Okay, so here is what I got:

    ActiveChart.SeriesCollection(1).Values = "=PORTFOLIO!$C$54:$E$54"
    ActiveChart.SeriesCollection(2).Values = "=PORTFOLIO!$C$56:$E$56"
    ActiveChart.SeriesCollection(3).Values = "=PORTFOLIO!$C$58:$E$58"
    ActiveChart.SeriesCollection(4).Values = "=PORTFOLIO!$C$60:$E$60"
    ActiveChart.SeriesCollection(5).Values = "=PORTFOLIO!$C$62:$E$62"

    Those E references are what I want to manipulate with variables. Optimally, I would like to have one cell on a sheet contain this reference. Then I would change the letter there, and then all of the charts would move to that specific reference (A, B, C, D, E, ...). The 5 series will always have the same letter reference. Can someone please help me out with the most ideal way to do this?

    Thank you so much for bearing through my first post!

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Using variables to manipulate ranges for charts

    Hi,

    Please Login or Register  to view this content.
    Best Regards,

    Kaper

+ 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] SUMPRODUCT: Multiple Charts with 2 Variables
    By hockeman52 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2014, 04:16 PM
  2. [SOLVED] Extracting Data From Charts Using Ranges (V-Lookup W/ Ranges?)
    By Kolin in forum Excel General
    Replies: 9
    Last Post: 04-14-2012, 05:39 PM
  3. Excel Charts Member Variables
    By ga400man in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-27-2009, 03:18 PM
  4. [SOLVED] Bubble Charts with two non-numerical variables
    By andy62 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-21-2006, 08:15 PM
  5. table - lines variables for DB functions, charts.. etc..
    By Marina Limeira in forum Excel General
    Replies: 1
    Last Post: 01-21-2006, 03:35 AM

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