cancel
Showing results for 
Search instead for 
Did you mean: 

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:

  1. Add a UI flows connector to the flow for each OneDrive file
  2. Provide Resume word doc file as input parameter
  3. Provide Candidates list excel file as another input parameter
  4. Provide another input parameter as DisplayName to refer to the same document in the scripts generated by the recorder
  5. Provide another input parameter as Candidates list excel file to refer to the same excel file in the scripts generated by the recorder
  6. This scenario has four input parameters
  7. Click on Launch Recorder
  8. And click Record from the recorder menu docked on top of your screen
  9. 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
  10. Copy the Candidate Name (Ctrl + C) from the fixed formatted file
  11. 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
  12. This Excel file should already have a table created with CandidateName and CandidateContact
  13. Click Alt + I and R to insert a new row
  14. Click (Ctrl + V) and go to nextCandidateContact column
  15. And switch to Resume Word doc to get contact details and paste in the excel file
  16. Save the CandiatesList excel file and close the file
  17. Close the Resume Word doc file
  18. Stop Recording
  19. 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
     
    1.png
  20. 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.
     

    2.png

  21. 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!

Comments

A short video would be much better to demonstrate this new functionality

Meet Our Blog Authors
  • Working daily with Microsoft Cloud to deliver the needs of my company, my customers and various Microsoft communities and forums. | Office 365 | Flow | PowerShell | PowerApps | SharePoint |
  • Co-founder of https://plumsail.com, Office 365 and SharePoint expert. Passionate about design and development of easy to use, convenient and flexible products.
  • Microsoft Business Apps MVP. Owner of ThriveFast, an Office 365 consulting company.
  • 7x Microsoft Business Solutions MVP (CRM)
  • I'm keen in MS technologies, SharePoint, Office 365 and development for them
  • Daniel is a Business Productivity Consultant & Microsoft Business Solutions MVP who is very enthusiastic about all things Office 365, Microsoft Flow, PowerApps, Azure & SharePoint (Online). Since the preview, Daniel has been working with Microsoft Flow and later on with Microsoft PowerApps. That led to him being awarded an MVP Award for Business Solutions. He loves to blog, present and evangelize about improving productivity in the modern workspace with these amazing tools!
  • Michelle is an Office 365 solution architect in Twin Cities, MN. She has been delivering business collaboration solutions for years with her focus on SharePoint and Office 365. Michelle is a recent board member of the Minnesota Office 365 User Group and has been a member of the SharePoint community since 2009. She is a frequent speaker at MNSPUG and SharePoint Saturday and co-chaired the Legal SharePoint User Group for 4 years. Her most frequent projects have involved rolling out a large deployment of Office 365, SharePoint Online intranet, build of a "CHAMPS" Office 365 user adoption program and most recently, SharePoint On-Premise to Online Migration. Michelle is very excited about cloud technology as it is shifting her IT Pro focus to collaboration strategy and technical adoption.
  • I'm a Microsoft Office Servers and Services MVP with a special interest in SharePoint, Office 365, Microsoft Flow, Microsoft Teams and PowerApps. I work at Triad Group Plc ( https://triad.co.uk)
  • Passionate #Programmer #SharePoint #SPFx #Office365 #MSFlow | C-sharpCorner MVP | SharePoint StackOverflow, Github, PnP contributor