+ Reply to Thread
Results 1 to 2 of 2

Cut, paste and delete

  1. #1
    Forum Contributor
    Join Date
    09-08-2005
    Location
    UK
    MS-Off Ver
    2010
    Posts
    107

    Cut, paste and delete

    I'm trying to make a varient macro of the 'delete duplicates' theme.

    My co-worker wants a record of the duplicate rows that have been deleted.
    I've made some progress but I'm having difficulties in deleting the rows that have been cut/pasted.

    Please Login or Register  to view this content.
    The emboldened bit is just the latest variation of me experimenting with solving this problem to no avail.

    I originally thought the 'currentcell.EntireRow.Delete' should be below the line ending in 'End(xlUp).Offset(1, 0))' but that didn't work.

    Any advice to where I'm going wrong?

    Thanks in advance

  2. #2
    Forum Contributor
    Join Date
    09-08-2005
    Location
    UK
    MS-Off Ver
    2010
    Posts
    107
    This seems to work:

    Please Login or Register  to view this content.
    Is there any better way of doing this do you think?

+ 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