VBA PivotTable variable range - TechRepublic
General discussion
February 26, 2004 at 06:57 PM
cnwoods

VBA PivotTable variable range

by cnwoods . Updated 22 years, 4 months ago

I want to automate the production of charts I produce on a regular basis, but although I have a standard txt download & pull it in OK, it varies as to the number of records each week, and the Pivot Table DataSource Property doesn’t seem to want to accept a named range or any of the UsedRange, CurrentRange type entries. Can someone tell me how I can work around this so that each week’s charts will run off the full download, but without throwing blank records into the equation?

Thanks, Crystal

This discussion is locked

All Comments