PC Review


Reply
Thread Tools Rate Thread

Copy, Cut, Paste in Custom Shortcut Menu -- REPOST

 
 
Kim M.
Guest
Posts: n/a
 
      11th Jun 2009
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.


 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      12th Jun 2009
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.

 
Reply With Quote
 
Kim M.
Guest
Posts: n/a
 
      12th Jun 2009
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.

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Repost: Copy/Paste with format/style Rob Parker Microsoft Excel Programming 8 11th Apr 2008 07:59 AM
Repost - Is there a quicker way to copy paste =?Utf-8?B?R2VvZmY=?= Microsoft Excel Programming 8 12th Jul 2006 06:34 PM
Copy & paste image from UserForm (repost) Paul Martin Microsoft Excel Programming 7 18th Feb 2006 07:18 PM
Copy/Paste question - Repost =?Utf-8?B?SEo=?= Microsoft Excel Misc 0 20th May 2004 10:26 PM
Custom embedded PopUp Menu in PowerPoint along with cut,copy, paste etc... Rajesh Microsoft Powerpoint 0 3rd Mar 2004 08:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:03 AM.