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: 3
Default Phantom workbooks in VBE in Excel 2007

I have been porting a program to 2007 from 2003. The main program
workbook will open any number of new books based on a template with
it's own ribbon. This ribbon has to call code in the main book. So
there is a reference to the main book in the template.
It ends up with a lot of books called wbook1 wbook2 etc but the vba
projects all have the same name. As all based on the same template.
When the program is closed each new book is closed and an attempt made
to remove it's reference to the main book. The last book closed is
always left visible in the VBE as a phantom book, although not in the
workbooks list. Sometimes the Main book will not close as there is
still a reference to it in the Phantom book. If I manually remove the
reference from the phantom book in VBE I can close the Main book.
Can anyone help with the reason why I am getting phantom books or a
reliable way to really remove a reference to another workbook.
John Robinson
 
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
Links between workbooks in excel 2007 Jim Excel Discussion (Misc queries) 1 November 6th 09 03:38 PM
Excel 2007 sharing workbooks Michelle Excel Discussion (Misc queries) 0 October 29th 09 02:53 AM
Shared Workbooks in Excel 2007 Mike H. Excel Discussion (Misc queries) 0 June 10th 08 10:36 PM
Phantom Excel Crashing My VB pwreconomist Excel Discussion (Misc queries) 0 December 24th 07 08:43 PM
Excel 2007 workbooks Mark Stega Excel Discussion (Misc queries) 2 January 4th 07 07:57 PM


All times are GMT +1. The time now is 08:01 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"