bustersports
Programmer
I am having problems with the SendKey function in Vista Home Premium. It works fine in XP or XP Pro.
This code generates an error that "The SendKeys action requires "program name" Utility Add-In to be loaded." No idea what they are talking about.
Function Macro2()
On Error GoTo Macro2_Err
SendKeys "F1", False
Macro2_Exit:
Exit Function
Macro2_Err:
MsgBox Error$
Resume Macro2_Exit
End Function
If I just try this code, I get a run-time error '70': Permission Denied error.
SendKeys "{F1}"
They only occur on the Vista machine. I cannot see anything that is obvious. Any clues from anyone?
Thanks very much in advance.
This code generates an error that "The SendKeys action requires "program name" Utility Add-In to be loaded." No idea what they are talking about.
Function Macro2()
On Error GoTo Macro2_Err
SendKeys "F1", False
Macro2_Exit:
Exit Function
Macro2_Err:
MsgBox Error$
Resume Macro2_Exit
End Function
If I just try this code, I get a run-time error '70': Permission Denied error.
SendKeys "{F1}"
They only occur on the Vista machine. I cannot see anything that is obvious. Any clues from anyone?
Thanks very much in advance.