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: 2
Default OLE Combobox: Excel breaks down when it has focus

Hi,

I have ole comboboxes on my Excel97 worksheet.

I have a toolbar with buttons that users click. One of these buttons
does a find Range.Find() call. Everything works fine as long as the
user doesn't have their cursor on/in a dropdown when this call is made.

If they do, I get a Run Time Error 1004 - 'Unable to get the Find
property of the Range class.'

I suspect this is by design as I notice when you give an OLE dropdown
the focus, Excel disables many functions in the standard toolbars.

Is there a way to prevent this from happening? Can I detect whether an
OLE object currently has focus?

Thanks in advance,

Michael D.

 
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
cursor focus in excel fourthhorn Excel Discussion (Misc queries) 1 June 2nd 06 06:05 AM
Hard breaks in text to soft breaks in Excel tbailey Excel Discussion (Misc queries) 6 July 28th 05 02:35 AM
ComboBox and Set Focus Ming Shao[_2_] Excel Programming 1 April 28th 04 06:55 PM
Focus on combobox atkscott Excel Programming 4 November 20th 03 12:36 AM
Excel stealing focus Akshay Excel Programming 3 October 24th 03 01:47 PM


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