I have a situation where in I need to perform the below steps using VB.net code:
1) Rename an Excel file to .zip (not actually zipping the file, but just renaming it to . zip)
2) Unzip the renamed Excel file to access it's XML structure. The XML structure of the excel sheet is stored in the file name sheet.xml, so the goal is to access this XML file.
3) Manipulate the sheet.xml file by rearranging the column structure.
As of now, I am trying to focus on steps 1 and 2 alone. Step 1 can be achieved easily, since it involves only renaming the excel file to .zip, without performing any compression.
But I am not sure about step 2, since it is required to unzip the excel file for its XML structure, without actually zipping it before.
Can anyone shed some light on how step 2 can be achieved?