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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying the results returned by a query to clipboard 1

Status
Not open for further replies.

TommyTea

Programmer
Nov 7, 2002
43
US
Does anyone know of a way to copy the results of a query to clipboard using code? The results I am working with are about 25 rows with 12 columns. I would like to allow the user to choose where he/she would like to paste it (using ctrl V).
 
I think this will do it:

DoCmd.SelectObject acQuery, "qryYourQuery"
RunCommand acCmdCopy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top