In order for me to create a filter list on my worksheet, I'm having to first delete
a querry report that's being stored/generated from the data being imported into my
workbook.
Due to Run-Time Error'1004
A list cannot overlap a range that contains a pivotTable report,query results,protected cells or another list.
Initially, I only had 1 ActiveSheet.QueryTable to delete ("IN Stock Status Report - 6896_12"), but this also changed when I ran on another PC under someone else's account.
I'm hoping that maybe I can use a wildcard "in the sense" to delete all occurrences that
may appear.
The following are macros recorded to log what's needing to be deleted.
I'm hoping for something like this:
ActiveSheet.QueryTables("IN Stock Status Report - 6896_*").Delete
..but that does not work.
Here's a bit of code that brings in the querry report.
Any help is appreciated.
Thanks,
BDB
Bookmarks