+ Reply to Thread
Results 1 to 4 of 4

macro to run after pasting (ctrl+v)

  1. #1
    Forum Contributor
    Join Date
    06-07-2016
    Location
    Manila
    MS-Off Ver
    365
    Posts
    292

    macro to run after pasting (ctrl+v)

    Hi All,

    we have a macro that will run if you hit ctrl+m, i want to modify this macro, i want the macro to automatically run after the users used the paste shortcut key ctrl+v

    is this possible?

    Thanks.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: macro to run after pasting (ctrl+v)

    One way is you can call your macro within the Worksheet Change Event. Right click on Sheet Tab --> View Code --> And paste the code given below into the opened code window.
    Replace the YourMacro with name of your macro which you want to call.

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    06-07-2016
    Location
    Manila
    MS-Off Ver
    365
    Posts
    292

    Re: macro to run after pasting (ctrl+v)

    Thanks sktneer

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: macro to run after pasting (ctrl+v)

    You're welcome!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] CTRL+C & CTRL+V copy single but pasting tab delimited spaced
    By Jack7774 in forum Excel General
    Replies: 4
    Last Post: 03-20-2015, 08:23 AM
  2. Disable cut,copy,paste(including ctrl x, ctrl c n ctrl v)
    By Ramboexcel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2014, 01:00 AM
  3. [SOLVED] Move Ctrl + F6 or make a macro that mimicks what Ctrl + F6 does
    By Jacc in forum Word Formatting & General
    Replies: 4
    Last Post: 08-18-2014, 03:28 AM
  4. Replies: 0
    Last Post: 02-23-2012, 06:07 PM
  5. Ctrl find, copy and pasting help please (Macro code needed)
    By leanne2011 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-28-2011, 10:59 AM
  6. Macro's with Ctrl or Ctrl-Shift?
    By Al Franz in forum Excel General
    Replies: 6
    Last Post: 09-05-2005, 06:05 PM
  7. Ctrl+V pasting to multiple non-adjacent cells
    By Sam in forum Excel General
    Replies: 1
    Last Post: 03-20-2005, 11:06 PM

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