Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImprovement import-excel or explain, please #678
Comments
If you want the index instead of the name use Tab indexes begin at 1. This will convert the hash table to a zero based array |
Hello, Thank again for confirmation, i keep also your code. And i think it's a good improvement for import-excel function to have a parameter like that : $alltab = import-excel -path .\test.xlsx -tabs we have with this all option in function :
It's just a idee |
It's a good idea! May write this up as an example or add it as a separate function, Get-AllExcelSheets. |
Perfect ! |
@jhoneill question, should this be an example or supported function? Would you want to take it? |
I would do it as an example. I think there are multiple ways that people might want to do this so the a function would only be right for some, better to show how it is done and let people roll their own. I can take it. |
Hello
Improvement of the import-excel function with a "all tabs" parameter that would return a multi-dimensional array with as Key, the tab index as provided by the Get-ExcelSheetInfo function.
or something like that, so you can work on the object.
unless there's another method?
Regards