• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Create Chart for each row using VBA

Shashwat

New Member
Hello Everyone,
I am new to VBA. I have a spreadsheet where I need to generate chart for the maximum and minimum set of values which are in the same row but the number of rows keep changing. I mean sometimes there are 10 rows in a sheet and sometimes 50.
But the data sets remain same :
For first data set, X values range from AI to AP column and its Y values range from AQ to Ax column. And for the second data set, X values ranges from AY to BF and Y values range from BG to BN. And the row generally starts from row 3.
I tried searching for the program but couldn't find one.
Any help is greatly appreciated.
 

Attachments

  • Book1.xlsx
    39 KB · Views: 4
Then have a look at the Mockup I made of the first 3 sets of data

See attached file
upload_2016-6-16_23-30-12.png
 

Attachments

  • Dynamic Chart.xlsx
    46.6 KB · Views: 9
…another take in attached (only because it might be difficult to identify which each of 50 lines on a chart is) and I didn't want to create 50 charts as the subject of this implies.
Select a different cell to get a different plot.
 

Attachments

  • chandoo29931Book1.xlsm
    48.4 KB · Views: 3
Back
Top