Regards, Dave S
----- Original Message -----Sent: Tuesday, June 09, 2015 3:21 AMSubject: [ExcelVBA] Auto Filter HelpI have a macro that will, on occasion, insert a column into a very large spreadsheet. I found that if I have and auto filter set, that the process of inserting the column can take many minutes to perform (large spreadsheet and slow computer). So I wrote an If() statement in the code to check for Auto Filter being on, and if so, turn it off. Then continue to insert the column. What I need help with is I'd like the code to see if the filter is on, and if so, what are the filters that are applied (maybe multiple column filters on), save them, turn off the autofilter, insert the column, then re-apply the auto filter. Is this possible?
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5961 / Virus Database: 4355/9974 - Release Date: 06/08/15
Posted by: "David Smart" <smartware.consulting@gmail.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.
----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA
----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com
----------------------------------
Tidak ada komentar:
Posting Komentar