I am building a macro to create a pivot table based off a range of data, however this range could change from day to day (ie sometimes more rows, sometimes less, but always the same number of columns).
The macro I built uses a specific range, but I would like the macro to "select all" data in the workbook instead to create the pivot table. I noticed if I have blank rows in the range, it messes up the pivot table. Is there a way to have the code always select all information in the worksheet rather than a specific range of cells?
Does this make sense?
Bookmarks