Send keys from command button

S

sunspot27

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top