Placing an XLSM file in a zip file (7-Zip) produces ghost sheets in VBA project

ijourneaux

New Member
Joined
Jul 9, 2018
Messages
36
I have a xlsm excel file with a bunch of modules and worksheets with vba code. I create a zip file (using 7-zip) with the single xlsm file in it. If I then extract the file and open it in excel, a ghost worksheet is created. IN the screen capture below, the original work sheet and worksheet macros was named Sheet25 (Results). If I place it in a zip file and extract it , the workbook gets a new worksheet object Sheet251 (Results) which doesn't have any macros. The macros are in worksheet object Sheet25. Sheet25 can not be moved and it isn't visable as a tab in the work book. And it can not be made visible.
Since the macros are nolonger with the "Results" worksheet, the macro buttons I have on that worksheet no longer work.

HAs anyone experienced this. Appreciate this is a subtle issue but any comments suggestions would be appreciated.
 

Attachments

  • excel IDE.jpg
    excel IDE.jpg
    126.9 KB · Views: 24

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,214,982
Messages
6,122,580
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top