mouseover selecting item in listbox

tony.reynolds

Board Regular
Joined
Jul 8, 2010
Messages
97
I have an annoying one where i have a multipage and two tabs
I have series of textbox1-textbox12 on the tab 0 that the 'on enter code' changes the listbox.value on tab 1 to the same value and selects the tab

Code:
Private Sub FindOrderDescription1_Enter()
OrderStockerTabs.Value = 2
SearchPartDescription = FindOrderDescription1
End Sub


Only trouble is wherever the mouse pionter is when i enter with a left click it changes to the value under it

when i right click or enter via tab key it selects the right one

Ive also tried
Code:
Private Sub FindOrderDescription1_Enter()
SearchPartDescription= FindOrderDescription1
OrderStockerTabs.Value = 2
End Sub

Iv also tried Application.screenupdating = False but thatdoesnt help

Can someone help me get around this?
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top