Results 1 to 9 of 9

Use VBA Remove Duplicates without removing cell formatting

Threaded View

  1. #1
    Registered User
    Join Date
    12-17-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    4

    Angry Use VBA Remove Duplicates without removing cell formatting

    Hey,

    I have a some code which will output a table depending on the users choices in an initial menu. I then use:

    Sheets(results).Range("C8:I108").RemoveDuplicates Columns:=Array(1, 2), Header:=xlYes
    to remove any duplicates in the final table but it is also removing the formatting of the cells which means when the program is run again - if the new results table is longer than the last, the last few rows don't match the formatting that was set in the sheet.

    Please help.

    Thanks
    Last edited by Leith Ross; 12-17-2014 at 01:19 PM. Reason: Added Code Tags

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Remove duplicates without removing formatting?
    By jfoerch in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-28-2014, 06:48 PM
  2. [SOLVED] Removing Unused Lines After Remove Duplicates
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2013, 07:30 PM
  3. [SOLVED] Removing Unused Lines After Remove Duplicates
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-16-2013, 04:51 PM
  4. [SOLVED] Remove Duplicates issue...Not Removing as it should
    By trosasco in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-24-2013, 12:57 PM
  5. Remove Duplicates not removing all duplicate entries
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2008, 05:32 PM

Tags for this Thread

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