+ Reply to Thread
Results 1 to 2 of 2

Adjust macro to NOT delete source row when change is detected.

  1. #1
    Registered User
    Join Date
    04-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Adjust macro to NOT delete source row when change is detected.

    The following macro checks for a change in column J on "HVAC Master Roster". If so, the source row is copied and pasted onto another sheet called "Placed". It then deletes the source row on "HVAC Master Roster". I want to change it so everything remains the same, except the source row will not be deleted when a change is detected. Would appreciate any help you can provide. Thank you.
    Please Login or Register  to view this content.
    Last edited by Paul; 04-14-2012 at 02:58 AM. Reason: Added CODE tags and moved thread to proper forum. Please read the forum rules before posting again.

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,568

    Re: Adjust macro to NOT delete source row when change is detected.

    Hi mefaraway,

    Just comment out this line...

    Please Login or Register  to view this content.
    ...by putting a single apostrophe at its start so it looks like this:

    Please Login or Register  to view this content.
    Comments are ignored during VBA execution.

    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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