At the moment I am exporting a query from Access97 to Excel97. The data is exported into a template with various graphs. Every works grand but my problem is that the number of records that get imported into the spreadsheet varies each time but the graph source data requires me select a fixed range, e.g.'10mg Data'!$P$2:$P$26. This normally results in either not all the data being represented on the graph or empty trailing cells being graphed. Is it possible to dynamically select the source data for graphs when the data is imported from Access