MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old May 5th, 2004, 12:54 PM   #1
aaronhowe
 
Join Date: Oct 2002
Posts: 34
Default Serious problem with Excel!! Can't exit design mode...

I'm getting an error on my sheet today, after I removed a combo box and replaced it with another combo box. I gather that though I had Activex working when I created the sheet, at the time of editing it hadn't been registered properly and this may have caused the issue.

I have been through all the code I can find and I can't locate the combo box it's referring to, however some digging in VBA did locate something:

Library: VBAProject
Class:Sheet6
Membcombobox10er:Combobox10

This is the one it's saying it can't create in order to exit design mode. Does anyone have a clue on how to remove it?!!!!! Please help! I'm desperate!!!
aaronhowe is offline   Reply With Quote
Old May 5th, 2004, 04:14 PM   #2
aaronhowe
 
Join Date: Oct 2002
Posts: 34
Default Re: Serious problem with Excel!! Can't exit design mode...

Answering my own post, I have had to copy out everything and paste it into a new sheet as there seems to be no logical way to deal with this issue.
aaronhowe is offline   Reply With Quote
Old May 5th, 2004, 04:53 PM   #3
Tom Urtis
MrExcel MVP
 
Tom Urtis's Avatar
 
Join Date: Feb 2002
Location: San Francisco, California USA
Posts: 8,623
Default Re: Serious problem with Excel!! Can't exit design mode...

You might have that cbo on a sheet that is hidden or VeryHidden. The Sheet6 ref looks like that is the VBA object number, not necessarily the name of the worksheet's tab. Hit Alt+F11, then Ctrl+R, double-click on the bolded name of your workbook in the project pane, and see what sheet tab name is assigned to Sheet6 of your workbook. Then hit Alt+Q to return to the worksheet. If that sheet is not visible, then click on Format > Sheets > Unhide and see if you can unhide it there. If it isn't listed in the Unhide dialog, go back to the VBE and run a macro like this:

Sub Test2()
Sheet6.Visible = xlSheetVisible
End Sub

That will make Sheet6 appear and the cbo will be there, all assuming the correctness of this theory that it exists on a hidden sheet whose object number is 6. Worth a shot.
__________________
Tom Urtis
Tom Urtis is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


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


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2009 by MrExcel Consulting.