By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,483 Members | 1,909 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,483 IT Pros & Developers. It's quick & easy.

Copy a string to clipboard via VBA

P: n/a
Hello

I may be a little to late but happy newyear to yot all ;-)

I need to copy a text into the clipboard in VBA in ACCESS.
This means that I have to code it using VBA.

When i goto Word then I can paste the string into the
worddocument.

Anybody who can help
Jan 14 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
If the text is selected in a control, you can just use:
RunCommand acCmdCopy

If you want something more powerful, see:
http://www.mvps.org/access/api/api0049.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<ne*********@yahoo.dk> wrote in message
news:g2********************************@4ax.com...
Hello

I may be a little to late but happy newyear to yot all ;-)

I need to copy a text into the clipboard in VBA in ACCESS.
This means that I have to code it using VBA.

When i goto Word then I can paste the string into the
worddocument.

Anybody who can help

Jan 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.