Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy Text and Enter Keystroke onto Clipboard

Status
Not open for further replies.

farm5951

Technical User
Oct 27, 2010
2
0
0
US
In Access 2007, I have a button that when pressed copies the contents of a textbox using DoCmd.RunCommand accmdCopy onto the clipboard, which I then next go to a website and paste the text into a textbox and then press the Enter key.

Does anyone know how to add an 'Enter' keystroke to the end of the copy? So after I press Control + V, the text is pasted into the textbox on the website and an enter is processed? I want to eliminate the need of pressing enter.

Thanks for any help!
 
Can't believe I'm suggsting this but you could use:

Sendkeys {ENTER}

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top