Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Spreadsheet object in VBE appears with the ThisWorkbook icon

I have a model with mutliple worksheet. In the VBE, each worksheet is
shown in the VBAProject window in the upper left hand corner of the
screen. Each worksheet object has the icon that looks like a grid of
tables with a paper icon behind it (the "grid icon"). The ThisWorkbook
object appears normally, which is to say, its icon is a green XL
symbol over the paper icon (I'll call this second type the "XL icon")

What is strange is that I have one other worksheet object called
DevNotes which appears as both a Grid icon and an XL icon. I have had
to rename the "regular" one and change the macro accordingly.

When I click on the XL icon of DevNotes, the properties that shows up
in the Properties windows shows the (Name) as "This Workbook"!

Even if I delete the worksheet itself and then go back to the VBE, the
Grid icon for that worksheet has disappeared, but the "XL" icon is
still there.

Has anybody come across this situation and is there a way to clean up
the model? The model is going to be used by upwards of 100 people, so
I to address all the strange quirky things before it goes ut.

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Spreadsheet object in VBE appears with the ThisWorkbook icon

On Sep 16, 3:07*pm, jayray wrote:
I have a model with mutliple worksheet. In the VBE, each worksheet is
shown in the VBAProject window in the upper left hand corner of the
screen. Each worksheet object has the icon that looks like a grid of
tables with a paper icon behind it (the "grid icon"). The ThisWorkbook
object appears normally, which is to say, its icon is a green XL
symbol over the paper icon (I'll call this second type the "XL icon")

What is strange is that I have one other worksheet object called
DevNotes which appears as both a Grid icon and an XL icon. I have had
to rename the "regular" one and change the macro accordingly.

When I click on the XL icon of DevNotes, the properties that shows up
in the Properties windows shows the (Name) as "This Workbook"!

Even if I delete the worksheet itself and then go back to the VBE, the
Grid icon for that worksheet has disappeared, but the "XL" icon is
still there.

Has anybody come across this situation and is there a way to clean up
the model? The model is going to be used by upwards of 100 people, so
I to address all the strange quirky things before it goes ut.

Thanks!


Here is the workaround (I am the original poster)..

There are 2 other posts on this subject that I have found elsewhere on
the web, and none contains any answers. I just called the Microsoft
support line through the Premier Consulting service that my office
has. The person I talked to has not specific answers to why this
happened, but suggested a workaround of 1) copying all worksheets
(make sure they are all visible first) to a new book, and then 2)
copying any forms and modules in the VBE over to the new workbook. The
forms and modules can be dragged and dropped into the new workbook, so
it is a fairly simple action.

I tried this and it seems to work; the duplicate ThisWorkbook icons
objects have disappeared. (The file I am using is nearly 2 meg and has
45 worksheets.) It is not the best answer--I still don't know what
cause the duplicate icons tto appear to begin with, and neither did
the Microsoft person--but at least the immediate issue is resolved.
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
Change label of an embedded-object icon hmm Excel Discussion (Misc queries) 3 April 4th 23 11:34 AM
Hlp - Display only file name when Insert Object As Icon Joyce Excel Programming 2 October 7th 09 04:41 PM
Line appears - not border, not object, does not print - what is it Licardi Excel Discussion (Misc queries) 2 January 15th 08 06:51 PM
Detecting if OLE object is displayed as an icon Archer Excel Programming 0 September 11th 05 06:46 PM
Toggling Display as Icon for OLE Object [email protected] Excel Programming 0 July 13th 05 09:13 PM


All times are GMT +1. The time now is 11:03 PM.

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"