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

Copying to clipboard

P: n/a
Hi

How can I copy some fields to clipboard so they can be pasted into other
applications?

Thanks

Regards
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"John" wrote
How can I copy some fields to
clipboard so they can be pasted
into other applications?


It is not abundantly clear to me exactly what you want to do, but the
following code copies the contents of the Control named "txtLastName" to the
clipboard in Access 97, and the same code should work just fine in any later
version.

Me!txtLastName.SetFocus
Me!txtLastName.SelStart = 0
Me!txtLastName.SelLength = Len(Me!txtLastName)
DoCmd.RunCommand acCmdCopy

Larry Linson
Microsoft Access MVP
Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.