+ Reply to Thread
Results 1 to 5 of 5

Cut, Copy, Paste & Delete Rows If Value Does Not Exist

  1. #1
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro Plus 2021
    Posts
    424

    Cut, Copy, Paste & Delete Rows If Value Does Not Exist

    I have two workbooks with ref numbers in column A called Monthly and Weekly.

    Can anyone suggest a macro that will -

    1. Run down column A of the sheet called Master in the Weekly Workbook file looking at the ref numbers.
    2. Search for those ref numbers in Col A of the Master Sheet in the Monthly Workbook.
    3. If any ref numbers in the Weekly Workbook are not in the Monthly workbook copy the whole row containing that number to the Cancelled sheet in the Weekly Workbook
    4. Delete that row from the Master sheet of the Weekly Workbook

    .
    Last edited by timbo1957; 10-13-2011 at 10:45 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Cut, Copy, Paste & Delete Rows If Value Does Not Exist

    Please attach a workbook and we can help you through it.

  3. #3
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro Plus 2021
    Posts
    424

    Re: Cut, Copy, Paste & Delete Rows If Value Does Not Exist

    Dummy files attached as requested.
    Attached Files Attached Files

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Cut, Copy, Paste & Delete Rows If Value Does Not Exist

    Is your issue solved?

  5. #5
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro Plus 2021
    Posts
    424

    Re: Cut, Copy, Paste & Delete Rows If Value Does Not Exist

    Yes Thanks.

+ 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