Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filter clearing in Excel when do "Save As"

Status
Not open for further replies.

bdbBear

Programmer
Apr 29, 2005
54
US
I have a Excel file (2003) that has some filters on it.

When I do "Save As" the filters get cleared.

I added breakpoints to the various event-triggered sub-rountines on the ThisWorkbook object and the sheet object to see what is being triggered. However, none of those procedures were.

Does anyone know if filters are automatically cleared when the file is saved. And if yes, is there a way to prevent that from happening?

Thanks.

- Bruce
 
Filters don't usually get cleared - at least not in Excel 2000. You probably have some code in there somewhere. Try opening without running the code - hold down SHIFT whilst opening the file - this stops any code from running

Are these advanced Filter, Autofilter or what?

Thanks,

Gavin
 
Hi Gavin,

It's an advanced filter set up using vba.

I'll try doing it holding down Shift.

Thanks.

- Bruce
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top