Table Autofilters - Disable specific columns

hmltnangel

Active Member
Joined
Aug 25, 2010
Messages
290
Office Version
  1. 365
Platform
  1. Windows
Hi folks, hope you can help.

I have a Workbook that is controlled by a fair chunk of VBA. However, I have hd someone ask if I can switch on the autofilters, to allow them to sort/filter some of the columns after the VBA has ran.

Problem is, the VBA runs an autofilter currently to only display certain data, so I would like to disable the columns that the VBA already autofilters.

For example, VBA autofilters "Line Manager" in the table. Then displays everyone under that Line Manager. Is there a way to enable the autofilters for the rest of the columns, but block the users from changing the filter already applied in "Line Manager"?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Seems to me you are trying send out different versions of the table for specific Line Managers. Are you trying to hide subordinates that don't belong to Line Managers?

I don't know of a way to freeze the filter for one field. The best way is to separate your subordinates by Line Manager on different sheets, then they can't view subordinates from other managers.
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,980
Members
449,201
Latest member
Lunzwe73

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