Is it possible to change the Excel extension of a solution I have created in Visual Studio?

Ricardo Freccero 1 Reputation point

I was working on a solution in Visual Studio and I just realized that the Excel file in my solution has the .xlsx extension but I need it to be .xlsm.
I tried changing the extension directly in the solution explorer window in VS but it doesn't work since it won't let me run the Excel file after.

If this is not possible, is there any way to export the modules and Excel sheets I already have created to a new solution that has the Excel with the .xlsm extension?

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,671 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ceasar Chen_MSFT 4,391 Reputation points

    Hi, @Ricardo Freccero
    You can change the save format of the file to .xlsm in Save As. Or try a free file format converter online.

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  2. Oskar Shon 866 Reputation points MVP

    You can't rename your extension just like that. That is not a letter only but deferent file structure.
    SaveAs is a right option.

    0 comments No comments