Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 07-13-2018, 10:29 PM
NoSparks NoSparks is offline Automating Updates For Advanced Filtering Into New Sheet Windows 7 64bit Automating Updates For Advanced Filtering Into New Sheet Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

before....

1. you changed the values of I4 and I5 which is what you originally copied to the A2's for the filter criteria.
at 10:55 of your video A2 shows "Yes", but it shouldn't because you just change the cell it came from to "Registered".
But if you look at N17:N18 that's where the macro wrote to on the second pass. You didn't specify where to write to so it used the active cell.

2. you didn't remove the old data from the 'two' sheets before over writing it with the new filtered results


now...

Re: 1.) Removed any code that would populate A1 and A2 of the 'two' sheets.
The A1 never changes and the A2 you know what it should be, so just enter it once manually and you'll never need to touch it again.

Re: 2.) First thing that happens is everything beyond row 3 of the 'two' sheets is deleted then the advanced filter is applied.

In a nutshell, the Worksheet_Activate event of both the "Unregistered_Tenants" and "Registered_Tenants" sheets run 2 lines of code and the recorded macro can be removed.


ps: You do realize that hidden row 2 prevents manual filtering of the data, right ?

Last edited by NoSparks; 07-13-2018 at 10:40 PM. Reason: added the ps
Reply With Quote
 

Tags
advanced filters, excel 2016, macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating Updates For Advanced Filtering Into New Sheet Finding Capital Letters and filtering them out in an excel sheet ch1325 Excel 4 08-20-2015 07:25 AM
Automating Updates For Advanced Filtering Into New Sheet Filtering (advanced?) in Pivot Table canajun Excel 6 01-17-2015 05:01 AM
Need help in automating data from multiple sheets into a single sheet veedee Excel Programming 8 06-12-2014 10:04 PM
Automating Updates For Advanced Filtering Into New Sheet Need help in automating data from multiple sheets into a single sheet veedee Excel 1 06-11-2014 04:01 AM
Automating document updates with new text wordfoolish2 Word 0 01-04-2011 01:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft