I'm trying to generate a line graph using VBA that selects data from alternating columns. I've included a spreadsheet that contains data for staff allocation (Forecast and Actual) over time.
I'd like to be able to create a graph that plots just the forecast columns for the following rows:
"Total Staff"
"Total Allocation"
"Remaining availability"
Alternatively, I'd like to create a graph that plots a comparison of Forecast vs Actual rows:
"Total Staff"
"Total Allocation" and
"Remaining availability".
I'm having difficulties with understanding how to set the correct range.
I'm using the following code but it's throwing an error:
thank you for your help
Bookmarks