LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Corrupt Visual Basic Project?

Hello,

I have an excel file with currently about 10 sheets. It has 1 module,
and some code in the ThisWorkbook Object as well as 1 of the sheets.
Each tab is a daily report - occasionally, I manually delete
worksheet tabs to manage the file size.

I just noticed that in the VBA project, there are many blank (i.e.
Sheet10, Sheet11, Sheet12, Sheet13, etc) Microsfot Excel Code Objects
(31 to be exact) - these objects can be activated and code can be
entered. However, there are only 15 existing worksheet tabs...

The only other notable observation is that the icon for the non-
existing objects in the VB project explorer window are the green Excel
"X", whereas code objects with associated valid worksheet tabs are a
small black table icon.

I suspect the VBA project is corrupt and I will have to figure out a
way to try and start the workbook from scratch...

But has anyone experienced anything like this before, and what can I
do to prevent this from happening in the future?

Thanks,

Lance
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programmatic access to visual basic project via Visual FoxPro Jim Rech Excel Programming 0 January 11th 07 01:53 PM
Visual Basic New Project dialog box ClemCadidlhoper Excel Programming 2 November 28th 05 06:59 PM
Trust Access to Visual Basic Project Farah[_7_] Excel Programming 0 November 7th 05 01:17 PM
Excel Visual Basic Project Explorer Al Excel Programming 2 October 6th 04 03:49 PM
Allow access to visual basic project netzig Excel Programming 2 February 4th 04 06:06 PM


All times are GMT +1. The time now is 07:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"