PC Review


Reply
Thread Tools Rate Thread

Code to Select a Combobox with having to Manually Mouse or Tab to enter a value

 
 
Coza
Guest
Posts: n/a
 
      20th Mar 2007
How can i Code, to SELECT a Combobox, so the User does not have to manually
Mouse and Click or TAB to it?

Corey....


 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      20th Mar 2007
Corey,
On a WS you can:
Worksheets(1).ComboBox1.Activate
or
Worksheets(1).ComboBox1.DropDown

The second method will leave the drop down showing until the combox is
clicked though.

On a form:
ComboBox1.SetFocus
or
ComboBox1.DropDown

NickHK

"Coza" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How can i Code, to SELECT a Combobox, so the User does not have to

manually
> Mouse and Click or TAB to it?
>
> Corey....
>
>



 
Reply With Quote
 
Coza
Guest
Posts: n/a
 
      20th Mar 2007
Thanks Nick.
SetFocus was the one i needed.

Cheers

Corey....
"NickHK" <(E-Mail Removed)> wrote in message
news:uG$(E-Mail Removed)...
> Corey,
> On a WS you can:
> Worksheets(1).ComboBox1.Activate
> or
> Worksheets(1).ComboBox1.DropDown
>
> The second method will leave the drop down showing until the combox is
> clicked though.
>
> On a form:
> ComboBox1.SetFocus
> or
> ComboBox1.DropDown
>
> NickHK
>
> "Coza" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> How can i Code, to SELECT a Combobox, so the User does not have to

> manually
>> Mouse and Click or TAB to it?
>>
>> Corey....
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I select a range manually with the mouse? ian Microsoft Excel Programming 10 31st Oct 2007 12:31 AM
Combobox: On enter select entire value Rasmus Microsoft Access Forms 3 3rd May 2004 12:58 AM
Unable to select text in a Combobox with a mouse =?Utf-8?B?QmFkQmFydA==?= Microsoft Dot NET Framework Forms 0 17th Feb 2004 09:56 PM
ComboBox Code for Mouse and Keyboard George Hartas Microsoft C# .NET 0 23rd Jul 2003 07:33 PM
ComboBox Code for Mouse and Keyboard George Hartas Microsoft Dot NET Framework Forms 0 22nd Jul 2003 04:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:23 AM.