copy to clipboard

W

Willem

Do somebody now how i can copy a selected range of records to the clipboard.
I have made a button whith VB code to copy a record to the clipboard but
when I selected more then one record the records will be unselected when I
clic the button.

Willem
Netherlands
 
A

Allen Browne

You cannot use the command button on your form, for exactly the reason you
gave.

Instead use a toolbar button, or command button on another form.
The other form would have to set focus to the original form first.
This kind of thing:
Forms!Form1.SetFocus
RunCommand acCmdCopy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top