+ Reply to Thread
Results 1 to 8 of 8

convert xlsx to csv and save to file directory

  1. #1
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    convert xlsx to csv and save to file directory

    All

    I am trying to improve a process using macros/VBA and have some code that I borrowed off a forum (not sure which one) that perfectly exports a sheet within my workbook to a specific file location....

    However, I now need to save this worksheet (again in a specific file location) but as a comma separated value (the file needs to be uploaded into an external

    ... and am stuck.... have tried searching but most appear to want you to purchase a third party product to convert ...


    any suggestions

    TIA

    Shaz0503

  2. #2
    Registered User
    Join Date
    06-15-2012
    Location
    Colombia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: convert xlsx to csv and save to file directory

    Did you tried with Save As > Format > Comma Separated Values?
    http://excelmooc.com

  3. #3
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: convert xlsx to csv and save to file directory

    ... files save as csv file doesn't work - what do you mean by save as > format> comma separated values ???

  4. #4
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: convert xlsx to csv and save to file directory

    Sound like you want Jerry Beaucaire's website code for workbooks / CSV

    https://sites.google.com/a/madrocket...s/files-to-csv

    and maybe these might solve more of the issue with some modification

    https://sites.google.com/a/madrocket...ns/wbs-to-csvs
    and
    https://sites.google.com/a/madrocket...ns/csvs-to-wbs
    Last edited by JBeaucaire; 12-27-2019 at 03:46 AM.

  5. #5
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: convert xlsx to csv and save to file directory

    Hi, this could help you..

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: convert xlsx to csv and save to file directory

    All

    I have tried a couple of options in 'madrocketscientist' and aavins73 suggestons but to no avail

    This is the code that I used from JIM885 for another purpose and was hoping to be able to modify it... again no success....

    any additional ideas

    shaz0503

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: convert xlsx to csv and save to file directory

    Try this pls..

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: convert xlsx to csv and save to file directory

    Thanks all who have replied.....

    I have got code working to export as .txt file .... this will suffice for now but would still like to see if I can get code to export as comma separated value delimited....

    aavins73 ... your last comment didn't work....

    rgds

    Sharon

+ 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. Macro to Convert .csv info to .xlsx and save it in another folder under previous name
    By YogurtFace in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2014, 07:14 PM
  2. Save all .xlsx files in a directory to .xls
    By paul00 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2012, 08:05 PM
  3. How to convert a file to xlsx
    By Raner in forum Excel General
    Replies: 2
    Last Post: 12-15-2011, 03:27 PM
  4. Save workbook with multiple sheets as csv file and xlsx file
    By excel_vb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2010, 02:41 PM
  5. Replies: 3
    Last Post: 06-11-2009, 07: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