+ Reply to Thread
Results 1 to 3 of 3

How to Paste Macro in VBA & Remove Need for KB Shortcut

  1. #1
    Registered User
    Join Date
    03-05-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Question How to Paste Macro in VBA & Remove Need for KB Shortcut

    Hi

    I have VBA assigned to a command button. I have created a Macro to sort this data and assigned it to a keyboard shortcut. I have pasted the macro code into the VBA but need it to run without the keyboard short i.e. when the command button, which is already linked to VBA, is pressed.

    Here's the code :

    Please Login or Register  to view this content.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    re: How to Paste Macro in VBA & Remove Need for KB Shortcut

    Welcome to the forum.

    Add
    Please Login or Register  to view this content.
    as the last line of the first sub.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-05-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    re: How to Paste Macro in VBA & Remove Need for KB Shortcut

    Thanks for the welcome and solution!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1