+ Reply to Thread
Results 1 to 5 of 5

Create csv file using filter & duplicate function

  1. #1
    Forum Contributor
    Join Date
    10-21-2010
    Location
    LONDON
    MS-Off Ver
    2007
    Posts
    108

    Create csv file using filter & duplicate function

    Hi,

    Every day I get master file and I need to extract email address from that file of each Code.Email address is extracted for each Code by removing duplicate address.I have attached the Master file which I get everyday and also I have attached the output file which I prepare.If I can get a CSV file using macro for each code then it will be of great help.

    Right now I am using two methods to prepare file.First is using filter and by removing duplicating address and second I can prepare by using MS access.As the number of records are more than 50000 rows so I it takes around 20-30 minutes to prepare file.

    Thanks in advance.

    Loving
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Create csv file using filter & duplicate function

    See attached, click the button.

    Once you are happy with how it runs, you can place the code in the Personal Macro Workbook, so it will always be available.

    You mentioned something about removing duplicates..I am not sure what you are doing about those. This will be a big start for you though.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,594

    Re: Create csv file using filter & duplicate function

    Disregard...
    Ben Van Johnson

  4. #4
    Forum Contributor
    Join Date
    10-21-2010
    Location
    LONDON
    MS-Off Ver
    2007
    Posts
    108

    Re: Create csv file using filter & duplicate function

    Yea your solution is working but as I said I don't want duplicate email address to appear under each name(TIM).

    Hope you can modify it and give the solution.


    Thanks

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Create csv file using filter & duplicate function

    Yes,
    Read the 3rd line of my previous post.

    If you removed the duplicates in your example, you would only have 5 e-mails

+ 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. Filter and group by field name and create report with sum function
    By gane27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2013, 11:10 PM
  2. Duplicate Report Filter and Row Labels Filter Across Multiple Pivot Tables
    By tash in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 05:32 PM
  3. Filter, copy filtered data into another sheet, create a file of that sheet..
    By titushanke in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-17-2012, 02:26 PM
  4. Macro to save duplicate file and create folder name based on cell value
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-19-2012, 12:09 PM
  5. [SOLVED] Sort Filter & Create Text File
    By Kevin R in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2005, 07:06 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