Mar 11, 2003 #1 burgerman Technical User Sep 21, 2002 31 0 0 US How can I copy the contents of a text box to the clipboard?
Mar 11, 2003 1 #2 scriverb Programmer May 17, 2002 4,485 0 0 US Just execute the following VBA code: Me.textcontrolname.Setfocus DoCmd.RunCommand acCmdCopy At this point the value of the control is now copied to the clipboard. You can use the following to paste it elsewhere: me.anothercontrolname.setfocus DoCmd.RunCommand acCmdPaste Good luck. Bob Scriver Upvote 0 Downvote
Just execute the following VBA code: Me.textcontrolname.Setfocus DoCmd.RunCommand acCmdCopy At this point the value of the control is now copied to the clipboard. You can use the following to paste it elsewhere: me.anothercontrolname.setfocus DoCmd.RunCommand acCmdPaste Good luck. Bob Scriver