Michael van den Berg
New Member
Hey Guys,
I have an Excel workbook with macro's. Now im planning to use it on a tablet without the use of a keyboard or mouse. So I want to launch the on screen keyboard whenever I open an inputbox in a macro.
In windows there is an option to turn on or off this keyboard but I'm not sure how to call it from a macro.
I'm trying to use the Shell command to open the osk but so far I get a runtime 5 error.
I have an Excel workbook with macro's. Now im planning to use it on a tablet without the use of a keyboard or mouse. So I want to launch the on screen keyboard whenever I open an inputbox in a macro.
In windows there is an option to turn on or off this keyboard but I'm not sure how to call it from a macro.
I'm trying to use the Shell command to open the osk but so far I get a runtime 5 error.
Code:
'Opent het Onscreen Keyboard (OSK)
Dim RetVal As Variant
RetVal = Shell("C:\WINDOWS\system32\osk.exe", 1)