Excel VBA custom keyboard for windows 8 tablet (repeat click problem)

Greg J

New Member
Joined
Mar 4, 2005
Messages
2
Hi,

I am working on a Windows 8.1 tablet invoicing spreadsheet using Excel 2013. Rather than use the Windows 8 keyboard I have created my own custom keyboard using a userform and a qwerty key layout. The text typed appears in a textbox which controls a listbox of customer names. It works very well until I repeat click the same letter. E.g. Goodwood. The command button is slow to react with a second press (or click). This slows data entry for the user. I presume this is due to the click v double click event code.

Example code used:
Sub CommandButton9_Click()
Dim tmp As String
tmp = TextBox1.Value
TextBox1.Value = tmp & "o"
End Sub

Could anyone offer some ideas on how I can overcome this problem please?

Thanks.
Regards, Greg
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,217,375
Messages
6,136,187
Members
449,997
Latest member
satyam7054

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