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: 220
Default More than 1 workbook in a VBAProject

I have a workbook that I inherited, but it has the strange property of
having a "ThisWorkbook" object and a "ThisWorkbook1" object. There are
also several sheet objects that do not correspond to any worksheet,
visible or otherwise, and when I look at the properties window when
selecting those sheets on the Project Explorer, these phantom sheets
have the properties of "ThisWorkbook1".


It is very strange. I asked a microsoft expert here at work and he said
that its just not possible. The file was somehow corrupted. However,
it continues to work properly, and I have been using it for almost a year.

I am just curious what this is, what exactly it means, and how it might
have happened. Does anyone know? If anyone wants to see it, I can
strip it of all company-specific data, and send them the workbook with
the two ThisWorkbook objects.
 
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
VBAProject Andy Excel Worksheet Functions 1 January 10th 05 02:53 PM
How to get rid of a VBAProject? GF[_2_] Excel Programming 1 February 20th 04 03:10 PM
VBAProject Protect Kevin Excel Programming 3 November 17th 03 06:50 PM
code in VBAProject will not run Mike[_58_] Excel Programming 2 November 9th 03 04:08 PM
How to Delete a VBAProject JStone0218 Excel Programming 1 November 8th 03 02:47 PM


All times are GMT +1. The time now is 10:37 AM.

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

About Us

"It's about Microsoft Excel"