+ Reply to Thread
Results 1 to 1 of 1

Select range based on criteria and export into CVS with specific naming convention

  1. #1
    Registered User
    Join Date
    11-20-2018
    Location
    New York
    MS-Off Ver
    Excel
    Posts
    1

    Select range based on criteria and export into CVS with specific naming convention

    Hi everyone -

    I would like to convert the attached Excel file (entitled Example.xlsx) into multiple CVS files in the following manner:

    1. Column A = Column C values (Source Value) from Excel under a static Header title = Source Value
    2. Column B = Column G values (Target Value) from Excel under a static Header title = Target Value
    3. Naming convention of the CVS file = Column E (Controlling Picklist Field Name)_Column A (Display Name)_Column B (Field Name) --- e.g. Type_ClientType_PICK_004 --- please note that I have attached an example CVS file for what the output should look at

    In addition to the above - I would like the VBA code to be a loop to find the UNIQUE values in Column E (Controlling Picklist Field Name) and separate the CVS files utilizing this column. For example, all rows under Column E criteria = 'Type', THEN create a new CVS file... all rows under criteria Column E = 'Industry', THEN create a new CVS file... etc.

    If I could get the above VBA code and have all the CVS files be saved in a determined file path that would be AMAZING! Thanks so much.
    Attached Files Attached Files

+ 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. Smart Naming Convention using VBA
    By flakjack in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2018, 10:30 AM
  2. Vba sizing naming convention
    By cossie2k in forum Excel General
    Replies: 2
    Last Post: 04-04-2016, 03:34 AM
  3. Replies: 1
    Last Post: 05-02-2014, 06:51 AM
  4. [SOLVED] Export CSV file in Specific naming format
    By momer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2013, 06:08 PM
  5. export column based on specific criteria
    By losdamianos in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-14-2010, 04:18 PM
  6. Add certain naming convention
    By superbob in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-12-2010, 05:26 AM
  7. Variable Naming Convention
    By Ben in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-08-2006, 03:50 AM

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