+ Reply to Thread
Results 1 to 4 of 4

Modify code to delete instead of hide data

  1. #1
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Modify code to delete instead of hide data

    Hello,

    I have a VBA code that hide any duplicate data based on column G. Instead of hidding data, can anyone help me modify it to delete duplicate data based on any rows from column G. Below is my code and thanks.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Modify code to delete instead of hide data

    Change this:
    Please Login or Register  to view this content.
    to this:
    Please Login or Register  to view this content.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Modify code to delete instead of hide data

    I think there might be some ranges entered into your post incorrectly. Try this:

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Modify code to delete instead of hide data

    Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Delete vs Hide rows code not working
    By cxc300cxc in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-22-2013, 03:41 PM
  2. Modify VBA code to use column data
    By ArtZ in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2012, 03:12 PM
  3. Modify VBA code to hide blanks rows
    By Ranew in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-17-2011, 09:33 AM
  4. modify this code to delete a cell in all the given workbooks in a folder.
    By mrgillus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-02-2009, 04:20 PM
  5. Modify code to hide rows based on the contents in a cell.
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2009, 09:07 PM

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