• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 775
  • Last Modified:

Any downside to saving Excel (2010) file as .xlsm versus .xlsx?

Hello,

Even when it does not contain any macros, is there a downside to saving an Excel (2010) file as a macro-enabled (.xlsm) file versus a typical (.xlsx) file?

Thanks
0
Steve_Brady
Asked:
Steve_Brady
  • 3
  • 2
  • 2
  • +1
4 Solutions
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello Steve,

.xlsm is only required if the file contains macros. If it doesn't, .xlsx will do nicely.

If the file does not have any macros, then saving as .xlsm won't do much harm, although some corporate firewalls or web sites may not allow up/download of .xlsm files to safeguard against malicious intent (VBA can contain bad/destructive/viral code)

cheers, teylyn
0
 
dlmilleCommented:
Not for points...

I would just add if you are using any XLM functions (Excel 4 macro functions) you'll have to save as .XLSM.

Dave
0
 
reitzenCommented:
Depending on your security settings, it adds one or more steps for your users to get a file opened and "enabled".

They may be prompted to "Enable content" before they can work in the file.

Additionally, Excel 2010 tracks the source of the file as well.  So, they may get a fairly "scary" (red text and background colors) warning telling them that the file came from an unknown or internet source prompting them to click a link to review the content and then to select "Edit anyway", before they can "enable content".

So, if you do not need the Macro enabled workbook and your file(s) are for users other than yourself, don't use XLSM until you actually need to include code in your file.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
FWIW, the warnings about enabling content only come up if a file actually contains macros. If it only has the .xlsm extension, but no actual macro code in the macro project, then there will be no warnings, since there are no macros. But if you even have an empty sub with no "real" code like ...

sub DoNothing()
end sub

Open in new window

... then the macro warnings will pop up upon opening the file.
0
 
Steve_BradyAuthor Commented:
Many great and helpful responses:

Sorry for my ignorance teylyn but, "FWIW"?
0
 
Steve_BradyAuthor Commented:
Thanks
0
 
dlmilleCommented:
FWIW - For What Its Worth.
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Thanks, Steve.

I don't often use chat speak or txt abbreviations, and I assume you don't either. Sorry if I caught you unaware.

Here's a low-level intro http://www.pcworld.com/article/153504/fwiw_the_origins_of_net_shorthand.html

If you really want to get into it, take the deep dive with
http://www.netlingo.com/acronyms.php

I guess with voice recognition it will be much harder to use the acronyms than the full words, which kind of defies the intention of the chat speak acronym. Or can you use shortcuts to certain phrases with Dragon NS?

cheers, teylyn
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now