Copy Text Field To ClipBoard

S

Steve Lowe

Hi,

Please can someone offer me some help with the following.

I have a field on a form called Feedback.Description

I have a button on this form called BtnFBCopy

I would like the contents of the Feedback.Description field to be
copied to Windows clipboard when the button is clicked.

What code do I need to write in Code Builder to accomplish this.


Thanks in advance,

Regards

splowe.


- Steve Lowe
- E-Mail : (e-mail address removed)
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net
 
F

fredg

Hi,

Please can someone offer me some help with the following.

I have a field on a form called Feedback.Description

I have a button on this form called BtnFBCopy

I would like the contents of the Feedback.Description field to be
copied to Windows clipboard when the button is clicked.

What code do I need to write in Code Builder to accomplish this.

Thanks in advance,

Regards

splowe.

- Steve Lowe
- E-Mail : (e-mail address removed)
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net

Me![ControlName].SetFocus
DoCmd.RunCommand acCmdCopy
 
S

Steve Lowe

Hi,

Please can someone offer me some help with the following.

I have a field on a form called Feedback.Description

I have a button on this form called BtnFBCopy

I would like the contents of the Feedback.Description field to be
copied to Windows clipboard when the button is clicked.

What code do I need to write in Code Builder to accomplish this.

Thanks in advance,

Regards

splowe.

- Steve Lowe
- E-Mail : (e-mail address removed)
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net

Me![ControlName].SetFocus
DoCmd.RunCommand acCmdCopy


Hi - Thanks very much - just the job.

Regards

splowe.

- Steve Lowe
- E-Mail : (e-mail address removed)
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net
 

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