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!

