Autofilter omitting some columns and I can't work out why

MsT

New Member
Joined
Mar 17, 2003
Messages
37
There are headers in the top row for all columns. There are no gaps between columns. Columns A, B and C are frozen.

I put autofilter on and it's fine. Then sometimes after I have been merrily using the spreadsheet for a while I notice that columns A and B are not in the filter.

This is scaring me as I don't know what and why!

Can anyone shed any light?

Many thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Is there any VBA code in the workbook that could account for the autofilter being changed?
Does "merrily using" include column deletions or additions?
I have noticed with Excel 2016 there are sometimes graphical glitches that cause controls/text/comment indicators to not be shown, even though they are present. Could the autofilter still be present, but not repainted?

Type this in the immediate window of the VBE...

Code:
?activesheet.autofilter.range.address

...and it will report the range that is currently included in the autofilter.

Alt+F11 to show the VBE
Ctrl+G to show the Immediate window once the VBE has focus
 
  • Like
Reactions: MsT
Upvote 0
Thank you for the help - I think it may be that i was using advanced search instead of search from within the filter. and the area for the search was not all the columns.
I appreciate you taking the time to help!
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,025
Members
452,542
Latest member
Bricklin

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