Saving an Excel Template with Macros

bearcub

Well-known Member
Joined
May 18, 2005
Messages
629
Office Version
  1. 365
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
I need to create an Excel template for our admins but I have a couple of macros that I need to include for them.

I noticed when I saved the the file as an xlt file the module with macro wasn't saved with it. The only workaround I can thing about is to export the macro that I have then have them import it when they save the file as either an xlsm or xlb file.

Has anyone found another way way of creating an xlt file without losing the macro module?

Thank you for your help,

Michael
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

rlv01

Well-known Member
Joined
May 16, 2017
Messages
1,081
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Can you save it as an .xltm file? (the macro-enabled file format for an Excel template for Excel 2007 and later)
 

bearcub

Well-known Member
Joined
May 18, 2005
Messages
629
Office Version
  1. 365
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
Thank you. I didn't know there was an xltm. That answers the question. I didn't check all the options, I've just seen the xlt file not the xltm.

We are running 2016 so we should have this file type.

Michael
 

Forum statistics

Threads
1,144,374
Messages
5,723,988
Members
422,529
Latest member
mbilal429

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top