Re: Copy / Paste
- From: "Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdotcom@xxxxxxxxxxxx>
- Date: Fri, 12 Aug 2005 14:08:02 -0300
With the current focus in the control whose contents you wish to copy to
the Clipboard:
DoCmd.RunCommand acCmdCopy
With the current focus in the control whose contents you wish to replace
with the contents of the Clipboard:
DoCmd.RunCommand acCmdPaste
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Steven" <Steven@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:49325185-582E-45F2-984F-CB74DFB49A4D@xxxxxxxxxxxxxxxx
> I want to copy the value from a textbox and paste it to another
object. I
> dont want to put the copy / paste on a menu bar or shortcut menu and
dont
> want to use Ctrl-C and Ctrl-V. What I want is to do it with a line of
code.
> I thought something like DoCmd.Object.Copy and DoCmd.Object.Paste but
I have
> looked for and tried everything. What is the code for this?
>
> Thank you for your help.
>
> Steven
.
- Follow-Ups:
- Re: Copy / Paste
- From: Steven
- Re: Copy / Paste
- References:
- Copy / Paste
- From: Steven
- Copy / Paste
- Prev by Date: Re: Copy / Paste
- Next by Date: Re: Copy / Paste
- Previous by thread: Re: Copy / Paste
- Next by thread: Re: Copy / Paste
- Index(es):
Relevant Pages
|