Copy data from formatted doc to excel file using UI flows
Automate the repetitive task if you have a OneDrive folder full of templated resumes and you want to copy each candidate’s name and contact from a well-defined field to an Excel file. First, create a flow that automatically goes through every resume in the folder. Next, add UI flows to your primary flow to record the steps you usually take to transfer data between the two types of files. Finally, run the flow to copy data from Word to Excel for every resume in your OneDrive folder automatically. This is an example to demonstrate the recording experience between two different types of files.
UI flows Steps:
- Add a UI flows connector to the flow for each OneDrive file
- Provide Resume word doc file as input parameter
- Provide Candidates list excel file as another input parameter
- Provide another input parameter as DisplayName to refer to the same document in the scripts generated by the recorder
- Provide another input parameter as Candidates list excel file to refer to the same excel file in the scripts generated by the recorder
- This scenario has four input parameters
- Click on Launch Recorder
- And click Record from the recorder menu docked on top of your screen
- Open the Word and click on Open and click the Browse and in the File name click the input field name from the UI flow recorder and select the Resume File input and click back in the File name to populate the File name
- Copy the Candidate Name (Ctrl + C) from the fixed formatted file
- Click the Excel and click on Open and click the browse and in the File name click the input field name from the UI flow recorder and select the Candidates List File input and click back in the File name to populate the File name
- This Excel file should already have a table created with CandidateName and CandidateContact
- Click Alt + I and R to insert a new row
- Click (Ctrl + V) and go to nextCandidateContact column
- And switch to Resume Word doc to get contact details and paste in the excel file
- Save the CandiatesList excel file and close the file
- Close the Resume Word doc file
- Stop Recording
- Edit Run word script 2 and run word script 3 to refer the same word document by selecting No for Launch application and Refer the same document in the Main window title
- Edit Run Excel script 2 to refer the same excel file by selecting No for Launch application and Refer the same file in the Main window title.
- You can test the steps recorded by clicking the “Test now” button by removing the previously copy pasted Candidate’s name and contact in CandidatesList XLSX file.
Thanks for reading!
*This post is locked for comments