By: Tim Smith | Updated: 2014-08-06 | Comments (1) | Related: > PowerShell
Problem / Solution
We get Excel files with several worksheets and we want a way to automate the extraction of each worksheet, so it can be imported into SQL Server. In this video tip, we look at how to use PowerShell to automate the extraction of each individual worksheet into separate CSV files for easy import into the database.
Key Learning Items
- Opening Excel files using PowerShell
- Looping through each worksheet and extracting the data into individual CSV files
Read Companion Tip
About the author
This author pledges the content of this article is based on professional experience and not AI generated.
View all my tips
Article Last Updated: 2014-08-06