View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Claus Busch Claus Busch is offline
external usenet poster
 
Posts: 3,872
Default XLSM and XLSX - what's the difference?

Hi Terry,

Am Tue, 06 Sep 2016 09:10:29 +0100 schrieb Terry Pinnell:

Could someone please clarify the purpose of the new file types in
Excel 2016/365, as I'm confused.

In various web articles/posts, such as this example
http://www.askingbox.com/question/ex...-xlsm-and-xlsb
I read that xlsx does not include macros or VBA code, but xlsm does.

So, as I want to include my old macros fro Excel 2000 and also use any
new macros I might install (with help here!) I have started using
xlsm.

HOWEVER, when I open a few remaining xlsx files that I saved earlier,
I find they *do* include macros. I can run them, and I can open the
VBA Editor.


if you open xls files in compatibility mode they can contain macros and
you can run the macros.
If you want to convert your files to the new file system you have to
save them as xlsm or xlsb.
If you create code and then save the workbook as xlsx the code will be
deleted.


Regards
Claus B.
--
Windows10
Office 2016