+ Reply to Thread
Results 1 to 5 of 5

Auto run macro from paste or paste special in to specific cell

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    Telford, England
    MS-Off Ver
    Excel 2016
    Posts
    22

    Auto run macro from paste or paste special in to specific cell

    Hi All,

    I have a macro that will run automatically if a specific cell value changes but it only works if you type the new value in to the cell, not if you paste or paste special the new value. Anyone know a way around this?
    I’ve tried creating a few auto run macros to test this and they all work when you enter the value into the cell by typing but not from a paste or paste special…

    Thanks,

    Craig...

  2. #2
    Registered User
    Join Date
    06-27-2014
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    15

    Re: Auto run macro from paste or paste special in to specific cell

    Hii Craig

    This might help you,It works good with me.

    Private Sub Worksheet_Change(ByVal Target As Excel.Range)
    If Target.Row = 3 And Target.Column = 2 Then



    End if
    end sub

    Rupesh

  3. #3
    Registered User
    Join Date
    06-04-2013
    Location
    Telford, England
    MS-Off Ver
    Excel 2016
    Posts
    22

    Re: Auto run macro from paste or paste special in to specific cell

    Hi Rupesh
    Not sure i'm getting what you mean by that one; can you explain further?

    this is the code i'm working with as a sample:

    Please Login or Register  to view this content.
    Thanks

  4. #4
    Registered User
    Join Date
    06-27-2014
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    15

    Re: Auto run macro from paste or paste special in to specific cell

    better if you can send me the file in which macro is recorded

    rupesh

  5. #5
    Registered User
    Join Date
    06-04-2013
    Location
    Telford, England
    MS-Off Ver
    Excel 2016
    Posts
    22

    Re: Auto run macro from paste or paste special in to specific cell

    Hi Rupesh,

    No can do I'm afraid, it's a work document with customer data in it. I'm just trying to add in a quick look-up capability for anyone using the sheet.

    Sorry,

    craig...

+ 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] Simple copy and paste macro- Paste special help needed.
    By hernancrespo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2012, 07:02 AM
  2. [SOLVED] how can I paste text using paste special, without clicking paste button?
    By Exxcel Noob in forum Excel General
    Replies: 6
    Last Post: 05-14-2012, 08:21 PM
  3. Macro to paste special all values in a spreadsheet with specific criteria
    By Don0401 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-30-2011, 11:39 AM
  4. Copy and Paste Special Values Macro ignoring cells with specific condition
    By chendriks47 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2011, 03:01 AM
  5. Macro paste special part row based on cell value
    By uncleslinky in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-15-2011, 04:51 AM

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