+ Reply to Thread
Results 1 to 2 of 2

Delete cells with duplicates

  1. #1
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Delete cells with duplicates

    Hi,

    I have this script below that deletes duplicates when the script starts it is looking at Col "H" The "H" part is working correctly however when it runs through col "G" it stops at row 6. Which means that col "G" ROW 5 and 6 are the same number.

    Col "H" data can only be Monday,Tuesday,Wednesday,Thursday,Friday so the script will delete all duplicates of the above names

    Col "G" data can only be the hours worked that day. so what I want is it to look at col H then delete all the duplicates in G.

    So for example after the script runs col H looks like:
    Monday
    Tuesday
    Wednesday
    Thursday
    Friday
    Saturday
    Col G should look like this.
    8
    8
    8
    8
    8
    Any Idea's

    Please Login or Register  to view this content.
    Thanks, Mike
    Last edited by realniceguy5000; 05-22-2009 at 11:28 AM.

  2. #2
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Delete cells with duplicates

    I was able to tinker this script to work. Here are the changes I made to get it working again.

    Please Login or Register  to view this content.
    Thank You, Mike

+ 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