+ Reply to Thread
Results 1 to 3 of 3

Macro to Save range as CSV

  1. #1
    Registered User
    Join Date
    10-27-2013
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    6

    Macro to Save range as CSV

    Hello everyone,

    I have the following code which saves a specific range in my active workbook as a CSV in a particular folder.
    My issue is, the CSV that is created has a single sheet that is always named the same as the CSV itself. I would like it if the sheet would just be named "Sheet1" , is that possible by modifying the below code?

    Please Login or Register  to view this content.
    Any help is muchly appreciated!

    Paul

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Macro to Save range as CSV

    No because sheet properties are not stored in a CSV file. Only the data is stored. (Take a look at your CSV file with Notepad.)

    You'll have to change the sheet name upon import.
    David
    (*) Reputation points appreciated.

  3. #3
    Registered User
    Join Date
    10-27-2013
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Macro to Save range as CSV

    Yes! makes perfect sense. Thank you David!

+ 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] macro to 'save as pdf' that prompts for filename, location AND only prints specified range
    By mtcolombo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-06-2013, 01:49 PM
  2. [SOLVED] Macro to save specific range as bitmap/jpeg
    By wfm007 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-28-2013, 04:44 AM
  3. Macro for Save As a pre-determined range of cells, freezing drop down box and date
    By MonseigneurB in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-31-2012, 02:08 PM
  4. Replies: 2
    Last Post: 10-13-2012, 02:12 PM
  5. Macro to Save Multiple copy of spreadsheet from named range
    By Chirayu Amin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2009, 01:46 PM

Tags for this Thread

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