ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Autofilter - Remember settings (https://www.excelbanter.com/excel-programming/351690-autofilter-remember-settings.html)

Paul Brown[_2_]

Autofilter - Remember settings
 
Hello all,

I have a spreadsheet which can be autofiltered at columns A, B, C and/or D.
I have created a macro which autoruns whenever column D is changed. It
removes the autofilters, sorts the data by value in column D and then column
O and then reapplies the autofilter arrows. Is there any way that the
pre-sort autofilter settings can be captured and restored when the
autofilter is reapplied? I have to remove the autofilter prior to the data
sort because the sort excludes filtered rows.

Grateful for any help.



Dave Peterson

Autofilter - Remember settings
 
Bill Manville posted this:

http://groups.google.co.uk/group/mic...424cec598a2806

or

http://snipurl.com/lqav

Paul Brown wrote:

Hello all,

I have a spreadsheet which can be autofiltered at columns A, B, C and/or D.
I have created a macro which autoruns whenever column D is changed. It
removes the autofilters, sorts the data by value in column D and then column
O and then reapplies the autofilter arrows. Is there any way that the
pre-sort autofilter settings can be captured and restored when the
autofilter is reapplied? I have to remove the autofilter prior to the data
sort because the sort excludes filtered rows.

Grateful for any help.


--

Dave Peterson

Paul Brown[_2_]

Autofilter - Remember settings
 
Thanks and apologies - I did search but couldn't find anything.

"Dave Peterson" wrote in message
...
Bill Manville posted this:

http://groups.google.co.uk/group/mic...424cec598a2806

or

http://snipurl.com/lqav

Paul Brown wrote:

Hello all,

I have a spreadsheet which can be autofiltered at columns A, B, C and/or
D.
I have created a macro which autoruns whenever column D is changed. It
removes the autofilters, sorts the data by value in column D and then
column
O and then reapplies the autofilter arrows. Is there any way that the
pre-sort autofilter settings can be captured and restored when the
autofilter is reapplied? I have to remove the autofilter prior to the
data
sort because the sort excludes filtered rows.

Grateful for any help.


--

Dave Peterson





All times are GMT +1. The time now is 07:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com