Phantom sheets in project explorer

stevewins

New Member
Joined
Sep 26, 2010
Messages
25
I've inherited a workbook from a previous employee that is used for simply directing behavior of a phone rep. It contains a user form with checkboxes and option buttons, that, when selected, bring up the same form but with different selections. It's used as a guide for directing behavior (questions) on a call.

The issue I'm seeing is that in the VBA project explorer, there are 17 sheets (sheet1, sheet 2 etc.) that don't actually exist in the file anymore, with the excel green X icon as opposed to the normal sheet object icon. There is also the normal ThisWorkbook object (with the usual excel green X icon) and then there is a ThisWorkbook1 object as well.

The excess, unused sheet objects and the extra ThisWorkbook icon aren't deletable via the usual means. Also, none of them have code and don't appear to serve any purpose.

Short of copying everything to a new, clean workbook, is there an easier fix? I won't be able to run a code cleaner or similar product due to internal company security policies.

What are the usual causes of something like this, it's the first time I've come across dual ThisWorkbook objects?

Thanks,
Steve
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

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