VBA Auto/Filter Assistance - Overcoming the limitations of "This column has more that 10,000 unique items"

bootj1234

Board Regular
Joined
Aug 27, 2012
Messages
85
I have a column that’s comprised of 26,483 cells. Each of these cells has the following date and time stamp data in it yyyy/mm/dd hh:mm:ss that records when an event first started. When I try to AutoFilter all the cells within this column I can’t do it because It doesn’t allow me to access all the dates that I need to apply filtering to, which is due to the fact the “Column has more than 10,000 unique items” within it.

MY QUESTION/REQUEST: Since I cannot reduce the amount of data that’s being captured in each cell because of the level of granularity I need to communicate in my final analytics report:

  1. Is there a VBA work around for this sort/filtering issue? And if yes,
  2. Can you provide me with the VBA code that will do the sort/filtering?

FILTER CRITERIA: The filtering criteria that I am trying to apply to each cell would be to include only those cells that fall within the time range of >=10:00:00 and <=21:00:00 for Monday through Saturday dates, and for Sunday dates >=11:00:00 and <=18:00:00.

Thanks for the your review and answer!

John
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top