+ Reply to Thread
Results 1 to 2 of 2

pie chart source data range

  1. #1
    Registered User
    Join Date
    07-23-2010
    Location
    Doylestown, Pennsylvania
    MS-Off Ver
    Excel 2007
    Posts
    1

    pie chart source data range

    I am trying to make a pie chart with vba, but the size of my data changes and I can't figure out how to make the pie chart range reference relative instead of fixed. here is my code
    Please Login or Register  to view this content.
    So I am able to select the data but then the Range would be wrong if I updated the spreadsheet with new data.
    Last edited by romperstomper; 07-23-2010 at 11:50 AM. Reason: added code tags

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: pie chart source data range

    Hi, and welcome to the forum!

    How would the code determine what range to use? A sample workbook showing your data layout might help us to create code for you.

    Please note also that when posting code, you should enclose it in code tags. I've done it for you on this occasion as it's your first post.
    Remember what the dormouse said
    Feed your head

+ 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