Button to copy

Mahall906

New member
Local time
Today, 18:36
Joined
Apr 11, 2014
Messages
29
I am still learning VBA so please bare with me on what seem a simple question ;-)

I have a button called "copy". When this button is pressed I would like it to copy (just to clipboard) the text in a field called "address".
Its as simple as that.

I have tried various methods in the On Click command but I'm struggling.

Any help would be appreciated.

Thanks
 
Try:
Me.address.SetFocus
DoCmd.RunCommand acCmdCopy
 

Users who are viewing this thread

Back
Top Bottom