+ Reply to Thread
Results 1 to 4 of 4

Save .xlsm file as .xlsx

  1. #1
    Registered User
    Join Date
    04-05-2013
    Location
    Gurnee, IL
    MS-Off Ver
    MS365 (PC) Version 2310
    Posts
    51

    Save .xlsm file as .xlsx

    I'm sure I'm making this more difficult than it needs to be. I have a code that saves a .xlsm file as a .pdf file. Once it completes that, I'd like it to save the same file as an .xlsx file. I used the same code for converting the file to .pdf and just changed what I thought I needed to also convert it to .xlsx. Instead what it is doing it saving the file as .xlsx.pdf.

    You can probably disregard the code that is posted if someone can simply provide code to save an .xlsm file as .xlsx in the current folder.

    I appreciate any help in advance.

    Please Login or Register  to view this content.
    Last edited by sbrnard; 09-20-2019 at 02:44 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Save .xlsm file as .xlsx

    Not sure what is going on.

    You have some code it looks like you want to export as XLXS when it should be XLSX.

    Also would you not just save the workbook as an .xlsx workbook?

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Save .xlsm file as .xlsx

    Saving a .xlsm workbook as an .xlsx workbook.

    I suppose you should save the .xlsm workbook first, then save as .xlsx workbook. Set display alerts to false so you don't get a warning.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-05-2013
    Location
    Gurnee, IL
    MS-Off Ver
    MS365 (PC) Version 2310
    Posts
    51

    Re: Save .xlsm file as .xlsx

    Dave -

    Thanks for the reply. I must have been rushing and typed XLXS instead of XLSX.

    Where in the code would I insert the code you provided? I still want the file to save as the value in cell C8 with a dash followed by the value in cell F11.

    Thanks!

+ 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] VBA to save *xlsm as *xlsx
    By aaaaa34 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-31-2019, 03:51 PM
  2. [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
  3. [SOLVED] xlsm Save As xlsx, delete xlsm
    By cjjr82 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-25-2018, 05:15 PM
  4. [SOLVED] Macro to save .xlsm file as .xlsx rand remove macros and deleting certain tabs
    By robertguy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-10-2017, 09:55 AM
  5. Replies: 1
    Last Post: 12-01-2016, 10:57 AM
  6. [SOLVED] Save xlsm file as xlsx file
    By ccpsc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-06-2012, 01:12 AM
  7. how to save .xlsm fie as .xlsx
    By Blue_kul in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2012, 10:38 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