I’m having a problem with the SendKeys command.
I have an older Access 2003 routine that I have been using for years running under Win7 that does exactly what I want. However, I have moved it to one of my Win10 machines and now bombs on one small function. I have my UAC set to Never Notify.
Private Sub Command5_Click()
SendKeys "{F11}"
End Sub
I assume this is a windows issue not Access but have not been able to resolve. Is the SendKeys command not available when running Windows 10? I have searched for resolutions but have been unsuccessful. Any suggestions would be greatly appreciated.
Thanks,
Steve K.
I have an older Access 2003 routine that I have been using for years running under Win7 that does exactly what I want. However, I have moved it to one of my Win10 machines and now bombs on one small function. I have my UAC set to Never Notify.
Private Sub Command5_Click()
SendKeys "{F11}"
End Sub
I assume this is a windows issue not Access but have not been able to resolve. Is the SendKeys command not available when running Windows 10? I have searched for resolutions but have been unsuccessful. Any suggestions would be greatly appreciated.
Thanks,
Steve K.