Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default combo box not working

Hi all.

xl xp pro

I have 2 combo boxes on a wrksht
All of a sudden they do not work - though I can still see them
cmbBox1 has list of units for user to choose
cmbBox2 has list of periods for user to choose

All of a sudden the drop-down's do not work.
When I go into design view on the Control Toolbox and click on th
Combo box it does not show in the properties drop down dialogue box

The only item avail is wrksht1
When I create a brand new cmbBox - it is auto named cmbBox3

I've rebooted several times
I ran office update

I do use a corp. spreadsheet that has a lot of security on it.
Could it have done something to my xl environment that would disabl
the cmbBox's even in a different wrkbk?

Appreciate any idea

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default combo box not working

It is possible your comboboxes got converted to pictures.

Run code like this with the problem sheet as the active sheet

for each obj in ActiveSheet.OleObjects
msgbox Obj.name & " at " & obj.topleftcell.address & _
typename(obj.object)
Next
for each shp in Activesheet.shapes
debug.print shp.Name & " type: " & typename(shp)
Next

This might provide some insights. All msforms 2.0 controls should be
displayed in the first loop.

--
Regards,
Tom Ogilvy

"goss " wrote in message
...
Hi all.

xl xp pro

I have 2 combo boxes on a wrksht
All of a sudden they do not work - though I can still see them
cmbBox1 has list of units for user to choose
cmbBox2 has list of periods for user to choose

All of a sudden the drop-down's do not work.
When I go into design view on the Control Toolbox and click on the
Combo box it does not show in the properties drop down dialogue box

The only item avail is wrksht1
When I create a brand new cmbBox - it is auto named cmbBox3

I've rebooted several times
I ran office update

I do use a corp. spreadsheet that has a lot of security on it.
Could it have done something to my xl environment that would disable
the cmbBox's even in a different wrkbk?

Appreciate any ideas


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default combo box not working

Thanks Tom

Here's the procudure as pasted:
========================

Sub testObj()


For Each obj In ActiveSheet.OLEObjects
MsgBox obj.Name & " at " & obj.TopLeftCell.Address & _
TypeName(obj.Object)
Next
For Each shp In ActiveSheet.Shapes
Debug.Print shp.Name & " type: " & TypeName(shp)
Next


End Sub
==============================
Came back with:
Run-time error: 1004
Unable to get the Object property of the OLEobject class


---
Message posted from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default combo box not working

Never seen a problem with that. Try just running the shape portion and see
if you can figure out what these a

Sub testObj()

For Each shp In ActiveSheet.Shapes
Debug.Print shp.Name & " Name: " & shp.TopLeftCell.Address _
& " Type: " & TypeName(shp)
Next
End Sub

--
Regards,
Tom Ogilvy


"goss " wrote in message
...
Thanks Tom

Here's the procudure as pasted:
========================

Sub testObj()


For Each obj In ActiveSheet.OLEObjects
MsgBox obj.Name & " at " & obj.TopLeftCell.Address & _
TypeName(obj.Object)
Next
For Each shp In ActiveSheet.Shapes
Debug.Print shp.Name & " type: " & TypeName(shp)
Next


End Sub
==============================
Came back with:
Run-time error: 1004
Unable to get the Object property of the OLEobject class


---
Message posted from http://www.ExcelForum.com/



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default combo box not working

Thanks Tom

When I reopened to paste your new procedure I received a critical
problem alert with an option to send error report to MS.
I sent the error report.

XL then came up with recovery/repair option which I selected
Dialogue came back: " Errors were detected but MS xl was able to open
the file by making the repairs listed below:

Lost Visual Basic Project
Lost ActiveX Controls

I resaved the wrkbk with a new name
The cmbBox's still do not work

The modules must have been removed during the repair
They are no longer visible in the VBE
I have several buttons on the wrksht with macros assigned
Now when I click I receive "The macro cannot be found"

I tried opening the orginal wkrbk again
I am now receiving the "Encountered a problem" error message every time
I try to open the file.

MS OCA says another update avail. for Office
I'll run all updates and come back
============================


---
Message posted from http://www.ExcelForum.com/



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default combo box not working

Sounds like your file is hosed. Might be time to start over.

--
Regards,
Tom Ogilvy

"goss " wrote in message
...
Thanks Tom

When I reopened to paste your new procedure I received a critical
problem alert with an option to send error report to MS.
I sent the error report.

XL then came up with recovery/repair option which I selected
Dialogue came back: " Errors were detected but MS xl was able to open
the file by making the repairs listed below:

Lost Visual Basic Project
Lost ActiveX Controls

I resaved the wrkbk with a new name
The cmbBox's still do not work

The modules must have been removed during the repair
They are no longer visible in the VBE
I have several buttons on the wrksht with macros assigned
Now when I click I receive "The macro cannot be found"

I tried opening the orginal wkrbk again
I am now receiving the "Encountered a problem" error message every time
I try to open the file.

MS OCA says another update avail. for Office
I'll run all updates and come back
============================


---
Message posted from http://www.ExcelForum.com/



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
linking a form combo box... results from the combo box to another Trey Excel Discussion (Misc queries) 1 July 15th 07 01:58 AM
combo reference on another combo box for picking address etc. kbjin Excel Worksheet Functions 1 December 8th 06 03:29 PM
validation combo boxes not working steve alcock Excel Worksheet Functions 2 May 29th 05 06:21 PM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 1 February 16th 05 02:05 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 0 February 15th 05 07:45 PM


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