ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   two "ThisWorkbooks" (https://www.excelbanter.com/excel-programming/422523-re-two-thisworkbooks.html)

ryguy7272

two "ThisWorkbooks"
 
Definitely sounds like odd behavior! I've never seen anything other than
'ThisWorkbook'. I don't suppose restarting the computer would solve the
issue?? Maybe this is caused by a crash...corruption... If I were you, I'd
copying all the sheets to a new workbook and save that.

I found this, which gives you a little information about what ThisWorkbook
is for:
The ThisWorkbook module is a class module that contains the events
subroutines that are raised due to certain Workbook-related events. For
example, the Workbook_Open event routine will be executed when the Workbook
is opened. The Workbook_SheetActivate event routine will be executed when
the user (or code) activates a new Worksheet within the Workbook.

Regards,
Ryan---
--
RyGuy


"salgud" wrote:

We just upgraded to OfficeXP. In an old spreadsheet, it now has two
"ThisWorkbooks" (ok, one "ThisWorkbook" and a "ThisWorkbook1". They have
different icons. ThisWorkbook has the standard XL icon, ThisWorkbook1 has
the multicolored icon. ThisWorkbook1 is blank. What is it for? Can I delete
it?



All times are GMT +1. The time now is 01:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com