PC Review


Reply
Thread Tools Rate Thread

Combobox release

 
 
Brett
Guest
Posts: n/a
 
      11th May 2009
When I select a value from a dropdown list for a combobox, is there a way to
make the combobox release automatically and update it's linked cell. At the
moment the combobox entry is still highlighted and I have to click elsewhere
to get the release. Regards, Brett
 
Reply With Quote
 
 
 
 
FSt1
Guest
Posts: n/a
 
      12th May 2009

hi
when you select at item from the combo box, the combo box takes focus and
keeps it until focus is shifted ie click somewhere else.
as a suggestion you could use the change event to shifted focus to the sheet
say to the linked cell or where ever you thnk is best.
assume B8 is the linked cell.......
Private Sub ComboBox1_Change()
Range("B8").Activate
End Sub

regards
FSt1

"Brett" wrote:

> When I select a value from a dropdown list for a combobox, is there a way to
> make the combobox release automatically and update it's linked cell. At the
> moment the combobox entry is still highlighted and I have to click elsewhere
> to get the release. Regards, Brett

 
Reply With Quote
 
Brett
Guest
Posts: n/a
 
      12th May 2009
Thanks for that. It's actually more or less what I've been doing, but I
thought there might be a setting in the properties to solve it. oh, well.
Regards, Bret

"FSt1" wrote:

>
> hi
> when you select at item from the combo box, the combo box takes focus and
> keeps it until focus is shifted ie click somewhere else.
> as a suggestion you could use the change event to shifted focus to the sheet
> say to the linked cell or where ever you thnk is best.
> assume B8 is the linked cell.......
> Private Sub ComboBox1_Change()
> Range("B8").Activate
> End Sub
>
> regards
> FSt1
>
> "Brett" wrote:
>
> > When I select a value from a dropdown list for a combobox, is there a way to
> > make the combobox release automatically and update it's linked cell. At the
> > moment the combobox entry is still highlighted and I have to click elsewhere
> > to get the release. Regards, Brett

 
Reply With Quote
 
Brett
Guest
Posts: n/a
 
      12th May 2009
Hi again

Activating a cell doesn't seem to work unless I put a msgbox display (or
maybe something esle) in between. However, what does work very nicely is

UF0_QCP.TextBox35.SetFocus (TextBox35 is just a heading)

where UF0_QCP is the userform that contains the troublesome combobox.
Regards, Brett


"FSt1" wrote:

>
> hi
> when you select at item from the combo box, the combo box takes focus and
> keeps it until focus is shifted ie click somewhere else.
> as a suggestion you could use the change event to shifted focus to the sheet
> say to the linked cell or where ever you thnk is best.
> assume B8 is the linked cell.......
> Private Sub ComboBox1_Change()
> Range("B8").Activate
> End Sub
>
> regards
> FSt1
>
> "Brett" wrote:
>
> > When I select a value from a dropdown list for a combobox, is there a way to
> > make the combobox release automatically and update it's linked cell. At the
> > moment the combobox entry is still highlighted and I have to click elsewhere
> > to get the release. Regards, Brett

 
Reply With Quote
 
FSt1
Guest
Posts: n/a
 
      12th May 2009
hi
sorry. i thought you have a sheet combo box. had i known you had a form i
would have suggested something different. maybe you end solutions.
but the focus think still hold true.

sorry of missunderstanding.
regards
FSt1

"Brett" wrote:

> Thanks for that. It's actually more or less what I've been doing, but I
> thought there might be a setting in the properties to solve it. oh, well.
> Regards, Bret
>
> "FSt1" wrote:
>
> >
> > hi
> > when you select at item from the combo box, the combo box takes focus and
> > keeps it until focus is shifted ie click somewhere else.
> > as a suggestion you could use the change event to shifted focus to the sheet
> > say to the linked cell or where ever you thnk is best.
> > assume B8 is the linked cell.......
> > Private Sub ComboBox1_Change()
> > Range("B8").Activate
> > End Sub
> >
> > regards
> > FSt1
> >
> > "Brett" wrote:
> >
> > > When I select a value from a dropdown list for a combobox, is there a way to
> > > make the combobox release automatically and update it's linked cell. At the
> > > moment the combobox entry is still highlighted and I have to click elsewhere
> > > to get the release. Regards, Brett

 
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
Combobox control - Dear Bill, Please get this right b4 release 1.0. JB Microsoft Dot NET Framework Forms 0 26th Aug 2007 06:10 AM
FYI: Avert Labs Dat Release Notification: 4899 Emergency Dat Files Release David H. Lipman Anti-Virus 0 18th Nov 2006 12:35 AM
FYI: Avert Labs Dat Release Notification: 4828 Emergency Dat Files Release David H. Lipman Anti-Virus 2 15th Aug 2006 09:10 PM
Re: After insert a row to a table, the comboBox connected to the table didn't release focus. Cor Ligthert Microsoft Dot NET 0 23rd Apr 2004 08:05 AM
How make Release build use references to Release components & visa versa? Ed Sutton Microsoft C# .NET 3 14th Oct 2003 11:07 PM


Features
 

Advertising
 

Newsgroups
 


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