Hi guys....
I have a Workbook (Excel 2010) with several Worksheets - each Worksheet represents a business loan, and each loan has a different start and predicted end date.
On each worksheet I have a column with the Next Payment Date, and another column with the Balance after the payment has been made.
I can fairly easily plot each loan's balance over time using a separate chart for each loan, but what i'd like to do is plot the details of each loan on a single chart, ideally as lines, but having the X axis represent the period from the start of the earliest loan to the predicted final end date.
I have looked at VBA to generate several series on one graph, but I don't know how to set the X axis values to run from the start of the earliest loan to the end of the latest loan.
On a summary Worksheet I have the earliest start date in one cell, and the latest end date in another cell.
Does anyone know how i can effectively say in VBA "set the start of the X axis to 'Early Date', and the end of the X axis to 'Final Date', then plot n series on that chart"?
I know this means that no series will run the full length of the chart, and some will start and end within the chart. If the Client doesn't like how that looks I may need to use a stacked bar chart to show the Company's indebtedness over time, but I suspect I'll have the same problem with the stacked bar chart.
Can anyone suggest any further reading on how to achieve my aim - I've had a good look around the excellent Jon Peltier site, but I can't find anything which seems to help (although with my level of charting experience [feeble] I may have seen examples of similar functionality without recognising them!).
Any help would be gratefully accepted....
Steve
I have a Workbook (Excel 2010) with several Worksheets - each Worksheet represents a business loan, and each loan has a different start and predicted end date.
On each worksheet I have a column with the Next Payment Date, and another column with the Balance after the payment has been made.
I can fairly easily plot each loan's balance over time using a separate chart for each loan, but what i'd like to do is plot the details of each loan on a single chart, ideally as lines, but having the X axis represent the period from the start of the earliest loan to the predicted final end date.
I have looked at VBA to generate several series on one graph, but I don't know how to set the X axis values to run from the start of the earliest loan to the end of the latest loan.
On a summary Worksheet I have the earliest start date in one cell, and the latest end date in another cell.
Does anyone know how i can effectively say in VBA "set the start of the X axis to 'Early Date', and the end of the X axis to 'Final Date', then plot n series on that chart"?
I know this means that no series will run the full length of the chart, and some will start and end within the chart. If the Client doesn't like how that looks I may need to use a stacked bar chart to show the Company's indebtedness over time, but I suspect I'll have the same problem with the stacked bar chart.
Can anyone suggest any further reading on how to achieve my aim - I've had a good look around the excellent Jon Peltier site, but I can't find anything which seems to help (although with my level of charting experience [feeble] I may have seen examples of similar functionality without recognising them!).
Any help would be gratefully accepted....
Steve