Automate the repetitive task if you want to convert all the legacy XLS files in one of your SharePoint document libraries to XLSX files. First, create a flow that automatically goes through every file in the library. Next, add UI flows to your primary flow that replays the steps you usually take to convert a single file. Finally, run the flow to convert every file in your library automatically.
UI flows Steps:
- Apply filter to fetch only xls file from the SharePoint document library
- Add a UI flows connector to the flow
- Provide input as a formatted file name (refer the exact file name)
- Click on Launch Recorder
- Click Record from the recorder menu docked on top of your screen
- Open Excel, click on Open, click Browse, and in the File name field, use the field name input from the UI flow recorder by selecting it from the recorder menu and clicking back in the File name to populate the File name.
- Click on Open
- Once the file is open
- Click File > Save As
- Choose “Excel Workbook (*.xlsx)” from drop-down
- Click Save
- Close the Excel file
- Stop Recording
- Recorder generates the script
- You can test the steps recorded by clicking the “Test now” button by removing the previously generated XLSX file.
Thanks for reading!