#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 371
Default DropDown

Hi
I need to prevent the DropButtonClick event under certain circumstances
existing elsewhere on a userform without using the other controls exit events
with Cancel = True.

I do not want to disable or lock the combobox either.

Syntax like ComboBox1.DropDown = False doesn't have any effect.

Is there a way?

T.I.A.

Geoff


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default DropDown

ComboBox1.Enable = False

Mangesh



"Geoff" wrote in message
...
Hi
I need to prevent the DropButtonClick event under certain circumstances
existing elsewhere on a userform without using the other controls exit

events
with Cancel = True.

I do not want to disable or lock the combobox either.

Syntax like ComboBox1.DropDown = False doesn't have any effect.

Is there a way?

T.I.A.

Geoff




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default DropDown

sorry, missed the "d"

ComboBox1.Enabled = False

Mangesh




"Mangesh Yadav" wrote in message
...
ComboBox1.Enable = False

Mangesh



"Geoff" wrote in message
...
Hi
I need to prevent the DropButtonClick event under certain circumstances
existing elsewhere on a userform without using the other controls exit

events
with Cancel = True.

I do not want to disable or lock the combobox either.

Syntax like ComboBox1.DropDown = False doesn't have any effect.

Is there a way?

T.I.A.

Geoff






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 371
Default DropDown

Hi
No, as I said in my post I do not want to disable the cbobox. If it is
disabled or locked then a click event on the cbobox cannot be recognised.

Geoff

"Geoff" wrote:

Hi
I need to prevent the DropButtonClick event under certain circumstances
existing elsewhere on a userform without using the other controls exit events
with Cancel = True.

I do not want to disable or lock the combobox either.

Syntax like ComboBox1.DropDown = False doesn't have any effect.

Is there a way?

T.I.A.

Geoff


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default DropDown

Then try setting a flag which changes to TRUE or FALSE as per your
condition, and then in the click event check the status of the flag.

Mangesh




"Geoff" wrote in message
...
Hi
No, as I said in my post I do not want to disable the cbobox. If it is
disabled or locked then a click event on the cbobox cannot be recognised.

Geoff

"Geoff" wrote:

Hi
I need to prevent the DropButtonClick event under certain circumstances
existing elsewhere on a userform without using the other controls exit

events
with Cancel = True.

I do not want to disable or lock the combobox either.

Syntax like ComboBox1.DropDown = False doesn't have any effect.

Is there a way?

T.I.A.

Geoff




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
select From dropdown and return another dropdown menu RE4379 Excel Discussion (Misc queries) 2 March 11th 10 03:09 PM
Dropdown box display only data dependent on another dropdown box? Chris Excel Worksheet Functions 8 August 5th 08 05:01 PM
Dropdown List within a dropdown Henn9660 Excel Worksheet Functions 1 April 10th 08 07:42 PM
offer dropdown options based on another dropdown Conor Excel Discussion (Misc queries) 2 January 13th 06 04:28 PM
How do I create a dropdown within a dropdown? Joyce Keller Excel Discussion (Misc queries) 1 December 5th 05 04:02 PM


All times are GMT +1. The time now is 05:26 AM.

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"