+ Reply to Thread
Results 1 to 2 of 2

Deleting Duplicate Ranges

  1. #1
    Registered User
    Join Date
    01-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    30

    Deleting Duplicate Ranges

    Hi,

    See the example, but basically this is what I'm looking to do: delete sets of columns that repeat themselves so there is only one of the duplicate sets left. Each set contains two columns, so set 1 occupies columns A and B, set 2 occupies C and D, etc. If set 3 is equal to set 1 (as in the example) I would like to delete it. All columns are filled with strings (contrary to the example, realized this after, sorry!)

    I tried writing something myself in module 1, but basically the main issue is the line
    Range1.Value=Range2.Value
    I'm guessing you can't use the value property like this but I can't figure out how to write an alternative.

    Thanks for your help in advance!
    Attached Files Attached Files
    Last edited by tucanj; 02-11-2013 at 02:34 PM.

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

    Re: Deleting Duplicate Ranges

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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