+ Reply to Thread
Results 1 to 6 of 6

Macro to copy and paste row if macro detects movement

  1. #1
    Registered User
    Join Date
    10-07-2018
    Location
    Cuauhtémoc, Chihuahua, Mexico
    MS-Off Ver
    Office 365
    Posts
    3

    Question Macro to copy and paste row if macro detects movement

    Hello. I need a macro to copy and paste a row to another sheet. For Example: If i edit cell d3 then the macro detects cell value or text changes and copies a3:k3 to another sheet in the same workbook

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,876

    Re: Macro to copy and paste row if macro detects movement

    which cells can be edited to cause this action?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-07-2018
    Location
    Cuauhtémoc, Chihuahua, Mexico
    MS-Off Ver
    Office 365
    Posts
    3
    Quote Originally Posted by alansidman View Post
    which cells can be edited to cause this action?
    Im editing column E and would like to copy sheet 1 column d through h and paste to sheet 2

  4. #4
    Registered User
    Join Date
    10-07-2018
    Location
    Cuauhtémoc, Chihuahua, Mexico
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Macro to copy and paste row if macro detects movement

    i am having this code
    Please Login or Register  to view this content.
    now id like to copy only column d through h and paste only the values
    Last edited by alansidman; 10-08-2018 at 10:26 AM. Reason: code tags added per forum rules

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,876

    Re: Macro to copy and paste row if macro detects movement

    change this

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.
    where x represents the row number.

    Without additional information, this is the best I can offer

  6. #6
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,262
    Quote Originally Posted by 1800builder91 View Post
    Hello. I need a macro to copy and paste a row to another sheet. For Example: If i edit cell d3 then the macro detects cell value or text changes and copies a3:k3 to another sheet in the same workbook
    Maybe like this not test
    Please Login or Register  to view this content.
    "ThankyouFor Attention * And Your Help!!"

+ 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. Macro that detects if specific cells are blank, does a pop up
    By lora2014 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2015, 11:48 PM
  2. [SOLVED] Macro that detects numbers out of sequence, then inserts a new row and adds the missing
    By Lmel0611 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-18-2015, 11:11 PM
  3. Create a Macro that wont allow movement with the workbook until macro is run
    By Dial1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-10-2014, 11:20 AM
  4. Copy cells and paste like a cut, no adjusting for movement
    By brucemc777 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-28-2014, 12:36 AM
  5. [SOLVED] Macro that detects certain value and replaces value
    By keis386 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-28-2013, 11:54 AM
  6. Macro to copy rows if detects a specfic key word
    By Misbah211 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-22-2012, 10:38 AM
  7. Macro that detects the source files and lists all the formulas
    By triplemints in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2010, 07:48 PM

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