Closed Thread
Results 1 to 3 of 3

Chart source data automatically fill in

  1. #1
    lukas
    Guest

    Chart source data automatically fill in

    Hi,

    I have chart on one sheet, I have a chart on another sheet. I know how to
    set the data source to the chart.
    But each week I am adding a new data (as everyone who makes charts though).
    It's couple of rows with numbers that are each week (Friday) added.

    Question: is there a possibility to somehow make the chart automtacilally
    find the new rows and add it to the current data source? So I don't have to
    do it manually...

    As a far as shot in the dark it would be a cmobination of

    1. SetSourceData Source:=Sheets(1).Range ...
    2. Range("B4", Range("B4").End(xlToRight)).Select - finds the last non-empty
    cell
    and 3. same as two but xlDown

    Do you know how to do it or how to combine these two? Thanks
    --
    Regards
    Lukas Polansky

  2. #2
    Stephen Bullen
    Guest

    Re: Chart source data automatically fill in

    Hi Lukas,

    > I have chart on one sheet, I have a chart on another sheet. I know how to
    > set the data source to the chart.
    > But each week I am adding a new data (as everyone who makes charts though).
    > It's couple of rows with numbers that are each week (Friday) added.
    >
    > Question: is there a possibility to somehow make the chart automtacilally
    > find the new rows and add it to the current data source? So I don't have to
    > do it manually...


    The easiest way is to use defined names to link the chart to the data. See the
    example chapter 15 from PED, available for download from my web site.

    Regards

    Stephen Bullen
    Microsoft MVP - Excel

    Professional Excel Development
    The most advanced Excel VBA book available
    www.oaltd.co.uk/ProExcelDev



  3. #3
    lukas
    Guest

    Re: Chart source data automatically fill in

    Thanks Stephen, I am gonna try it and have checked and will again the
    websites. Excellent, thanks again.
    --
    Regards
    Lukas Polansky


    "Stephen Bullen" wrote:

    > Hi Lukas,
    >
    > > I have chart on one sheet, I have a chart on another sheet. I know how to
    > > set the data source to the chart.
    > > But each week I am adding a new data (as everyone who makes charts though).
    > > It's couple of rows with numbers that are each week (Friday) added.
    > >
    > > Question: is there a possibility to somehow make the chart automtacilally
    > > find the new rows and add it to the current data source? So I don't have to
    > > do it manually...

    >
    > The easiest way is to use defined names to link the chart to the data. See the
    > example chapter 15 from PED, available for download from my web site.
    >
    > Regards
    >
    > Stephen Bullen
    > Microsoft MVP - Excel
    >
    > Professional Excel Development
    > The most advanced Excel VBA book available
    > www.oaltd.co.uk/ProExcelDev
    >
    >
    >


Closed 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