+ Reply to Thread
Results 1 to 3 of 3

Cannot Save CSV file as xlsm

  1. #1
    Registered User
    Join Date
    09-05-2018
    Location
    Vaill, CO
    MS-Off Ver
    Mac2011
    Posts
    10

    Cannot Save CSV file as xlsm

    I have converted data I receive in PDF format to a csv file and what I want to do is save it as an .xlsm file so I can use macros etc. When I do it manually it works perfectly but not using VBA. Hoping someone could tell me what is wrong with my code.

    Please Login or Register  to view this content.
    I recorded a macro and that worked and I compared the string developed above with the recording and they to me are identical.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Cannot Save CSV file as xlsm


    Try to add the file format parameter in the SaveAs method …

  3. #3
    Registered User
    Join Date
    09-05-2018
    Location
    Vaill, CO
    MS-Off Ver
    Mac2011
    Posts
    10

    Re: Cannot Save CSV file as xlsm

    Thank you very much I thought I had tried that.

+ 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] Save as XLSX from XLSM and then delete the XLSM file?
    By LIL2606 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-29-2019, 08:56 AM
  2. Replies: 1
    Last Post: 12-01-2016, 10:57 AM
  3. Macro - Save As .xlsm, recall file and delete file.
    By Dougie_DJ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2016, 11:58 AM
  4. [SOLVED] Check if file exists and if so save file incremented by 1 e.g. filename(1).xlsm
    By ratdogexcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2014, 01:15 AM
  5. Replies: 3
    Last Post: 05-21-2013, 08:22 AM
  6. Save file xls file as xlsm - macro won't run in xlsm workbook
    By captbluefin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-07-2012, 11:39 AM
  7. Save File as .XLSM
    By rhudgins in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-31-2011, 12:57 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