+ Reply to Thread
Results 1 to 4 of 4

VB to extract comments to new sheet, creating CSV flat file

  1. #1
    Forum Contributor
    Join Date
    12-05-2008
    Location
    Germany
    MS-Off Ver
    365
    Posts
    580

    VB to extract comments to new sheet, creating CSV flat file

    Hello

    Please have a look at the attached file. This is to generate a CSV file that we upload to DHL in order to print shipping labels. Basically, I want VB to extract each comment (which contains the customers' addresses) as well as the Values in E and F to a single row on worksheet "CSV", which then can be saved as a csv-file.

    The required buttons are already inserted, however the code is only an approach and should be redone.

    Any help is much appreciated.

    Felix ( El Gato )
    Last edited by elgato74; 01-17-2014 at 08:50 AM.

  2. #2
    Forum Contributor
    Join Date
    12-05-2008
    Location
    Germany
    MS-Off Ver
    365
    Posts
    580

    Re: VB to extract comments to new sheet, creating CSV flat file

    btw, please also view my post from a few years ago, as i had a similar requirement back then: http://www.excelforum.com/excel-prog...new-sheet.html

  3. #3
    Valued Forum Contributor
    Join Date
    11-15-2008
    Location
    ph
    MS-Off Ver
    2007/2010/2016
    Posts
    479

    Re: VB to extract comments to new sheet, creating CSV flat file

    Hi -

    here is the code you can try to fill your CSV tab;
    Please Login or Register  to view this content.
    event

  4. #4
    Forum Contributor
    Join Date
    12-05-2008
    Location
    Germany
    MS-Off Ver
    365
    Posts
    580

    Re: VB to extract comments to new sheet, creating CSV flat file

    Hi event !

    thx so much

    Can this be customized in a way that comments could have more than 5 lines, e.g. an extra c/o line ? What would I have to add to the code ?

    Best, F

+ 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. [SOLVED] VB to extract comments and value to new sheet
    By elgato74 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-17-2014, 01:01 AM
  2. Creating Macro to extract values from txt file
    By Gamerxx13 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2013, 04:28 PM
  3. Macro to copy a column data to flat file or text file
    By vinaynagasani in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-01-2009, 10:56 AM
  4. how do I convert an excel file to a flat text file
    By Lannutslp in forum Excel General
    Replies: 1
    Last Post: 06-03-2005, 06:05 AM
  5. Save sheet as fixed length (flat) text file
    By Tim Donovan in forum Excel General
    Replies: 0
    Last Post: 05-24-2005, 03:08 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