Sendkey?

  • Thread starter Thread starter SF
  • Start date Start date
S

SF

I have the following function that does not seem to work (no error message
of course):

Public Function SendKs()
SendKeys "^{'}" ' simulate the Ctrl and '
End Function

I want to put this code in the double click event on a form, just to quicken
the data entry. The idea is to copy the content of previous field into the
current field.
 
Untested but should work

SendKeys "^'", True

(for Clarity type " ^ ' " without the spaces)

Regards/JK
 

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

Similar Threads


Back
Top