Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Workbook with no properties attaches itself to my VBA project

I have a workbook which I save as an addin. Problem is that there is a
mysterious workbook which attaches itself to my primary workbook and it
only displays in the VBA editor. The problem is that this workbook is
not viewable while in Excel. In addition, while in the VBA editor, if
you click on any of the objects of the hidden workbook in the VBA
editor, it as no properties, there are no options to delete or remove.
It doesn't show up on the LINKS MENU in Excel either. Does anyone know
how to remove this phantom workbook?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Workbook with no properties attaches itself to my VBA project

You may want to share the mysterious workbook's name and its project name.

But a workbook can have a reference to another workbook -- each time you open
the "real" workbook, excel will open any workbook that is "referred to" by that
original workbook.

Open your workbook
Go to the VBE
Select your workbook's project
Tools|References

Look at the items that are checked. Do you see that mysterious workbook's
project?

If yes, you can uncheck it.

But ....

The developer may have set that reference on purpose. Maybe he/she wanted to
get data from a worksheet in that workbook--or use any of the functions that
were stored in that workbook.

wrote:

I have a workbook which I save as an addin. Problem is that there is a
mysterious workbook which attaches itself to my primary workbook and it
only displays in the VBA editor. The problem is that this workbook is
not viewable while in Excel. In addition, while in the VBA editor, if
you click on any of the objects of the hidden workbook in the VBA
editor, it as no properties, there are no options to delete or remove.
It doesn't show up on the LINKS MENU in Excel either. Does anyone know
how to remove this phantom workbook?


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Workbook with no properties attaches itself to my VBA project

The mysterious workbook isn't the add-in workbook itself, is it? Though it
should display its properties in the properties pane.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


wrote in message
oups.com...
I have a workbook which I save as an addin. Problem is that there is a
mysterious workbook which attaches itself to my primary workbook and it
only displays in the VBA editor. The problem is that this workbook is
not viewable while in Excel. In addition, while in the VBA editor, if
you click on any of the objects of the hidden workbook in the VBA
editor, it as no properties, there are no options to delete or remove.
It doesn't show up on the LINKS MENU in Excel either. Does anyone know
how to remove this phantom workbook?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Workbook with no properties attaches itself to my VBA project

More.....The workbook is what I consider a masterworkbook. Basically
all my macros are in master .xls workbooks which I Save As .xla. Thus
I can control versions of the addins this way. The phantom workbook is
displaying in the VBA editor in my master .XLS document as a XLS
document.. The phantom workbook name is one of the workbooks which I
had open while working in my masterworkbook.

In Tools- references workbook shows up UNCHECKED as UNSAVED document
but the dang thing still opens when I open my masterworkbook.

Also, if I try to export any of the phantom workbook objects such as
sheets, etc, I get an I/O error.




Jon Peltier wrote:
The mysterious workbook isn't the add-in workbook itself, is it? Though it
should display its properties in the properties pane.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


wrote in message
oups.com...
I have a workbook which I save as an addin. Problem is that there is a
mysterious workbook which attaches itself to my primary workbook and it
only displays in the VBA editor. The problem is that this workbook is
not viewable while in Excel. In addition, while in the VBA editor, if
you click on any of the objects of the hidden workbook in the VBA
editor, it as no properties, there are no options to delete or remove.
It doesn't show up on the LINKS MENU in Excel either. Does anyone know
how to remove this phantom workbook?


Reply
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
Can anyone help with workbook properties please? AdrianAP Excel Worksheet Functions 0 December 2nd 06 12:08 AM
Removing automatic links to information in another workbook Sameer Excel Discussion (Misc queries) 1 October 4th 06 02:10 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
CREATE NEW WORKBOOK AND SHEETS BASED ON COLUMN DATA control freak Excel Worksheet Functions 2 July 20th 06 06:00 PM
Protect Workbook vs Worksheet?? Dan B Excel Worksheet Functions 3 November 7th 05 09:02 PM


All times are GMT +1. The time now is 02:42 PM.

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"