• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Opening OSK

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.

Code:
 'Opent het Onscreen Keyboard (OSK)
 Dim RetVal As Variant
 RetVal = Shell("C:\WINDOWS\system32\osk.exe", 1)
 
As I have a brand new Surface Pro 3 I kinda assumed it would install the 64 bit automatically.
Apparantly not...
Ill reinstall it in the 64 bit version.

Thanks Narayan!
 
Back
Top