Copy Contents of textbox to clipboard

dtechpcs

New member
Local time
Today, 20:59
Joined
Apr 28, 2009
Messages
4
Hello all,

I'm new here so thanks in advance if anyone can help me out with this problem.

I'm trying to create a form in an Access 2007 database that has a button which when clicked, selects and copies the contents of a text box to the clipboard which I can then paste into another application such as Word or Excel. What I'm looking for is the code that I need to put in the onclick event of the button that will perform the operation I need, if thats right.

I'm not that experienced at writing VBA code so any assistance or push in the right direction would be gratefully appreciated.

Thanks again.
 
Last edited:
Have a search of the forum, this has cropped up before. See link below on how to search the forum.
 
Here is a link to a demo that uses the copy to clipboard utility

Link
 
Thanks very much for the help, works great.

I will remember to use the search feature in future before asking.

Thanks again.
 

Users who are viewing this thread

Back
Top Bottom