Import data from OneDrive files into Excel
Ideas
What you can do with Microsoft Excel and OneDrive
Import new CSV files into an Excel table
When a CSV lands in your OneDrive folder, its rows are added to your Excel table automatically.
See how it worksAdd form responses to an Excel workbook
Every form submission is added as a row in your Excel workbook on OneDrive, with an email so you see it straight away.
See how it worksSave email attachments to OneDrive and log them in Excel
Attachments from your inbox are saved to OneDrive and each one is listed in an Excel log you can filter and search.
See how it worksMatch bank statements to open invoices every day
Each day your latest bank statement is matched against open invoices in Excel, paid ones are marked, and you get a list of anything that doesn't match.
See how it worksCombine Excel files from OneDrive into one workbook
Every 15 minutes, rows from new Excel files dropped in a OneDrive folder are added to a table in one master Excel workbook, with the source file name on each row.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Microsoft Excel and OneDrive, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Microsoft Excel and OneDrive automation you can describe
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
For example, ask your assistant
When a CSV lands in my OneDrive Imports folder, add only rows whose order ID is not already in my Orders table, then move the file to Processed.
Every Friday, check my Inventory Excel table on OneDrive and create a Reorder sheet listing items below their minimum stock level.
Use cases
Why people connect Microsoft Excel and OneDrive
How the two apps work together
- The script checks a OneDrive folder for new files every few minutes, or receives Microsoft Graph change notifications at a trigger link.
- It reads CSV or Excel files with Python and writes rows to a table in your Excel workbook on OneDrive.
- It can also copy or move processed files to another folder so the inbox folder stays clean.
Analysts build reports from dropped CSVs
CSV exports dropped in a OneDrive folder are added to an Excel table. The report workbook stays current without copy and paste.
Operations combine files from several teams
Each team's weekly Excel file in OneDrive is read and merged into one master workbook. Managers look at one table.
Finance archives monthly snapshots
On the last day of the month, a copy of the live workbook is saved to an archive folder with the month in the name. Past figures are kept as they were.
Small businesses log files into a register
Every new file in a OneDrive folder is added to an Excel register with name, date and link. Audits have a complete list.
More apps
Microsoft Excel, OneDrive and other apps in one automation
Email a summary when the master workbook updates
After new CSV files from OneDrive are added to my Sales Excel table, email me from Outlook the total of new rows and the top 5 customers.
Merged report posted to Teams
Every Monday, merge the team Excel files in my OneDrive Weekly folder into the Master workbook and post a summary in our Teams Ops channel.
Refresh Power BI after Excel updates
When new rows are added to my Excel table from OneDrive files, trigger a refresh of my Power BI dataset that uses that workbook.
Setup
Connect Microsoft Excel and OneDrive once
Microsoft Excel
Spreadsheets
- At entra.microsoft.com, open App registrations and create one with the Web redirect URI
https://clickruntime.com/oauth/callback, or reuse your existing Microsoft registration. - Under Certificates & secrets, create a client secret and copy the value.
- Under API permissions, add Microsoft Graph delegated permissions
Files.ReadWriteandoffline_access, plus admin consent if your organisation requires it. - In the ClickRuntime dashboard, open Connections, choose Microsoft Excel and enter the Tenant ID, Client ID and client secret.
OneDrive
File storage
- At entra.microsoft.com, open App registrations and create a registration with the Web redirect URI
https://clickruntime.com/oauth/callback, or reuse the one you made for Outlook. - Under Certificates & secrets, create a client secret and copy its value.
- Under API permissions, add Microsoft Graph delegated permissions
Files.ReadWrite.Allandoffline_access, and grant admin consent if your organisation asks for it. - In the ClickRuntime dashboard, open Connections, choose OneDrive and enter the Tenant ID, Client ID and client secret.
FAQ
Questions about connecting Microsoft Excel and OneDrive
Does the workbook need a table?
Can people keep working in the workbook while it updates?
Does it work with files in SharePoint too?
What happens to the original files?
Can it handle large files?
Does it work with files in SharePoint document libraries?
Can it create new workbooks?
Related pages
Keep exploring
Tell your assistant what Microsoft Excel and OneDrive should do together
Free plan. No credit card.