TAB out of a combo box

  • Thread starter Richard Edwards
  • Start date
R

Richard Edwards

I have an embedded combo box on my worksheet.

when i have finished typing into it i would love to be able to <TAB> out of
it to the next cell - but it doesn't work...

am i missing a property or piece of code?

thx

richard
 
H

Harald Staff

Hi Richard

Private Sub ComboBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, _
ByVal Shift As Integer)
If KeyCode = 9 Then
ActiveCell.Next.Activate
'or
' Range("F3").Activate
End If
End Sub

If this helps, click the naked lady in the ad to the left. And please don't
crosspost.

Best wishes Harald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top