I am having few excel files where each file have multiple workbooks.
Assume following are the workbook names.
Introduction
Testcase
Testresult
Also assume all the xls files are under same folder (For ex: C:\Servers)
Testsample.xlsx
TestExecution.xlsx and few more xlsx files ...
I want to create resultant files where only testresult workbook should be there.
Resultant files like ,
Testsample-res.xlsx
TestExecution-res.xlsx
and few more resultant xlsx files
How to keep only the testresult workbook in new xls files? (Using powershell script)
This will move the Testresult sheet to a new excel document (replace Move() with Copy() to leave the original sheet in the source doc):