+ Reply to Thread
Results 1 to 4 of 4

Excel 2010 Save as CSV

Hybrid View

  1. #1
    Registered User
    Join Date
    07-30-2010
    Location
    Warrington, England
    MS-Off Ver
    Excel 2010
    Posts
    71

    Lightbulb Excel 2010 Save as CSV

    Hi,

    I'm in the process of amending macros to run in 2010. the main thing I'm struggling with is saving as CSV format. Here's the code I have which creates a file with a csv extension, but isnt in csv format.

    With ActiveWorkbook
            .SaveAs Filename:=MyPath & MyFilename & ".csv"
            .Close
        End With
    I'm guessing there must be an explicit command that dictates the file type but I'm having no success finding it

    Can you help please?

    M

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Excel 2010 Save as CSV

    did you see the help page of workbook.saveas method ? ther'is the FileFormat parameter
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    07-30-2010
    Location
    Warrington, England
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Excel 2010 Save as CSV

    Many thanks, is that a help page in excel or the vb editor?

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Excel 2010 Save as CSV

    you can find it on vb editor or you can make a search with google with excel vba workbook.saveas

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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