+ Reply to Thread
Results 1 to 2 of 2

Advanced filter to output uniques as values not formulas

  1. #1
    Registered User
    Join Date
    03-31-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    84

    Advanced filter to output uniques as values not formulas

    I'm sure this is simple but i have a rather basic grasp of vba... still learning..

    I have this code which works fine, however if the column contains formulas then it outputs the formulas. I only want the unique values:

    Sheets("Raw Data").Range("B2:B100000").AdvancedFilter Action:=xlFilterCopy, _
    CopyToRange:=Sheets("Config.").Range("B34"), Unique:=True

    I have tried inserting the snippet PasteSpecial Paste:=xlPasteValues but to no avail.

    Help much appreciated!

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Advanced filter to output uniques as values not formulas

    Because it is a filter, it does by nature not change anything in the filtered cells. Try something like this after you copy/filter:

    Please Login or Register  to view this content.
    I'm interested in starting a career working with VBA, if anyone knows of any opportunities!

+ 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. Replies: 5
    Last Post: 12-19-2013, 06:58 AM
  2. advanced filter - button to re apply advanced filter across multiple sheets
    By motmac87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2013, 11:16 PM
  3. Replies: 4
    Last Post: 01-28-2013, 05:25 AM
  4. Replies: 0
    Last Post: 01-10-2013, 06:50 PM
  5. Formulas to emulate advanced filter feature
    By scottyd in forum Excel General
    Replies: 3
    Last Post: 09-23-2010, 04:08 PM
  6. Advanced Filter Output Issue
    By Rabi in forum Excel General
    Replies: 1
    Last Post: 04-14-2008, 02:37 AM
  7. Advanced Filter formulas
    By Craigo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-05-2007, 04:36 PM
  8. [SOLVED] Advanced Filter for Values in Column M greater than Values in Colu
    By SteveC in forum Excel General
    Replies: 3
    Last Post: 05-02-2006, 03:00 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