Put a filter on an excel file and save the file with that filtered result.
Example: I need to put filter on a column country. After applying the filter, save the file. So that if anybody opens it manually, then they should get the filtered result directly.
Activate a sheet and save the file. So that if anybody opens the excel file they should directly see that sheet.
After automation if i open the file i should have a filter applied to the file and only filtered results should be visible. But also the rest of the other data should not be deleted.
Its possible by making the filtered datatable into a separate sheet of same excel file or in the same sheet of input excel by making old data into separate sheet.
you are saying that the old data should not be deleted means it has to be in the same excel or store it into a separate sheet
Ok just assume that you have an excel file with you with above data. Now you applied the filters manually for the location column and then you saved and closed the file. Next time if you open the file, it will open with the filtered result.
similarly this needs to be done by bot. I just want the filter applied on the same sheet. the filter option should be visible in the column.