I have a worksheet that pulls data from another, it is designed to only show late jobs, and it works perfectly. I have it where it is broken down into quarters, and it gathers all this data and does everything I want.
I have it where it shows charts, there is data in said area the chart would self populate, otherwise it would be blank. If more data is entered into the range expands the chart accordingly.
Attached is a simplified workbook with the solution. This may not be the most eloquent way of doing it, but it works.
Used named ranges:
This may also be referred to as Structured References. From Excel 2010 Help:
Update
I haven’t used these techniques with Excel 2010 VBA, and the methods and keywords do seem to have changed. I found this hopefully helpful article (see section on “Inserting rows and columns”).