Protect an Excel Sheet with "Allow Filtering" Option in UiPath

I am trying to protect an Excel sheet using UiPath, but I need to make sure that the “Allow Filtering” option is enabled, so users can still use the filters even when the sheet is protected.

While doing this manually, I can check the “Allow Filtering” option when protecting the sheet, but I am not sure how to achieve the same result through UiPath.

Is there any way to programmatically enable the “Allow Filtering” option during the protection of an Excel sheet in UiPath? Or should I use VBA to accomplish this task?

Thanks in advance for any help!

Hi @andreus91

You can make use of protect sheet activity

and in the properties check on Filter to enable it

Do mark it as a solution if it helps :innocent:

1 Like