Paste from clipboard

R

RitchieJHicks

What would the command be to paste the clipboards contents to a field on
click on a command button please?
 
A

Allen Browne

Try this in the Click event procedure:

Me.[NameOfYourTextBoxHere].SetFocus
RunCommand acCmdPaste
 
R

RitchieJHicks

That's excellent. Thanks (once again) Allen.

--
-----------------------


Allen Browne said:
Try this in the Click event procedure:

Me.[NameOfYourTextBoxHere].SetFocus
RunCommand acCmdPaste

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

RitchieJHicks said:
What would the command be to paste the clipboards contents to a field on
click on a command button please?
 

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