ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Send keys from command button (https://www.excelbanter.com/excel-worksheet-functions/238185-send-keys-command-button.html)

sunspot27

Send keys from command button
 
Can someone help? Ive got the following code thats been placed into a
command button on a user form. The send keys dont seem to work.

Private Sub CommandButton2_Click()

Shell "C:\Program Files\ACT\act.exe", vbNormalFocus
Application.SendKeys ("%fde"), True

End Sub


All times are GMT +1. The time now is 06:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com