I'm trying to open the MS On-Screen keyboard from an Excel user form using a command button. This is on a Windows 8 32 bit OS using Excel 2010. The code below works in windows 7 but not in Windows 8 for some reason
code:
Dim RetVal As Variant
RetVal = Shell("C:\WINDOWS\system32\osk.exe", 1)
but when I transfer the form to the windows 8 machine I receive an error. I have also tried several other codes but I continue to receive the error "Invalid procedure call or argument".

has anyone been able to open the windows 8 On-Screen Keyboard using vba

Thanks
Scott