Ah, good idea! I knew they were available in VBA, but hadn't thought of
calling them through a runcode macro -- don't know where my brain is
sometimes. Thanks!!
Kim M.
"Tom van Stiphout" wrote:
> On Thu, 11 Jun 2009 10:39:02 -0700, Kim M.
> <(E-Mail Removed)> wrote:
>
> I don't know why they are not showing, but you can certainly use them
> in VBA: RunCommand acCmdCopy and its cousins are available.
> You could put these calls in your own public functions in a standard
> module, and then call them using the RunCode macro.
>
> -Tom.
> Microsoft Access MVP
>
>
> >I am having a similar problem. I have created a number of shortcut menus
> >using macros, and they all work great.
> >
> >The problem I am having is specifically with the Cut/Copy/Paste commands --
> >they are simply not listed as RunCommand options in the macro design form!
> >Can anyone shed light on this? I am using Access 2007.
> >
> >TIA,
> >Kim M.
> >
> >"ChezMC" wrote:
> >
> >> When I try and create my macro I don't have all the options for runcommand in
> >> the list and you can't add to the list. The options Cut, Copy and Paste are
> >> not there.
> >>
> >> > For cut + edit + paste, your macro look like:
> >> >
> >> > Macro Name Action Command
> >> > Cut RunCommand Cut
> >> > Copy RunCommand Copy
> >> > Paste RunCommand Paste
> >> >
> >>
> >> I imported your macros from your example, that you kindly posted, and then I
> >> have the other options available inside your macro. But if I create a new
> >> macro (in your db and any otherdb) these list items and many more are still
> >> not available.
>
|