+ Reply to Thread
Results 1 to 2 of 2

Macro to automatically save a ‘.xlsm’ file to an ‘.xlsx’ file in the same folder

  1. #1
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Macro to automatically save a ‘.xlsm’ file to an ‘.xlsx’ file in the same folder

    Hi,

    Can anyone please advise me of the macro code I need to run from my template file which has the ‘.xlsm’ extension to automatically save it as a normal ‘.xlsx’ file, which in the process not only converts the file but will lose any in-built macros etc. The new ‘.xlsx’ file must be saved in the same file location as the original ‘.xlsm’ file and must be a totally automated in that the user will not be required to answer any prompts to confirm etc

    Many thanks in advance for any assistance received

    Regards

    Rob
    Rob

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Macro to automatically save a ‘.xlsm’ file to an ‘.xlsx’ file in the same folder

    Look at this link for a couple of solutions

    http://www.mrexcel.com/forum/excel-q...lications.html
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Change File from txt to xlsx and Save in Current Folder
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2016, 05:21 PM
  2. Replies: 3
    Last Post: 01-05-2014, 05:50 AM
  3. [SOLVED] Macro to save file as XLSX in the same folder from where it originated
    By balandri in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-07-2013, 02:28 PM
  4. 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
  5. Saving xlsm file as xlsx while running macro
    By happygilmore in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-29-2012, 02:32 PM
  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. Saving .xlsx in a network folder through a .xlsm file
    By jambai in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-18-2011, 04:09 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