+ Reply to Thread
Results 1 to 3 of 3

Variable range for seriescollection.value

  1. #1
    Registered User
    Join Date
    07-15-2008
    Location
    Ann Arbor
    Posts
    12

    Variable range for seriescollection.value

    I'm setting up a chart that automatically adjusts the series based on the number of rows of data. I already have my script set up to determine the last row in the worksheet that contains data--I just can't figure out how to edit the chart.

    This is the code that I've got:

    Please Login or Register  to view this content.
    Where x is the last row containing data.

    Thanks.
    Last edited by adamsad1; 08-19-2009 at 12:03 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Variable range for seriescollection.value

    so does your code not work? if it errors what does the error say?
    Last edited by Andy Pope; 08-19-2009 at 11:42 AM.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    07-15-2008
    Location
    Ann Arbor
    Posts
    12

    Re: Variable range for seriescollection.value

    Hmm... Well, that's odd... It was kicking back an application/object-defined error on that line. I just ran it again and it the script worked perfectly.

    I guess maybe I just needed to close out and re-open Excel.

+ 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