These random modules are appearing in my project

Glory

Well-known Member
Joined
Mar 16, 2011
Messages
640
Weirdproblem.jpg


Sheets 10-13 and 4-9 are not actual sheets in my project. These modules have appeared mysteriously from nowhere.

I'm deleting and recreating a sheet, then closing my workbook using the save-as parameter and using OnTime to reopen it. How can I avoid these weird extra modules?

I can't even delete them or move them... I have to recreate my entire workbook to get rid of them. What are they? How do I stop this from happening?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Rather than deleting and recreating a sheet, clear its contents and re-use it. I don't have an answer why this happens but it will be cleaner if you aren't using vba to delete and create sheets (esp., repeatedly).
ξ
 
Upvote 0

Forum statistics

Threads
1,224,516
Messages
6,179,231
Members
452,898
Latest member
Capolavoro009

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