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 : [email protected]
- 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 : [email protected]
- 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 : [email protected]
- 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 : [email protected]
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net
 
Top