ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macros in teplates (https://www.excelbanter.com/excel-discussion-misc-queries/264087-macros-teplates.html)

Alex Hammerstein

Macros in teplates
 
Hi

Quick question - can Excel Templates contain macros?

Thanks

A


Stefi

Macros in teplates
 
Quick answer: Yes.
--
Regards!
Stefi



€˛Alex Hammerstein€¯ ezt Ć*rta:

Hi

Quick question - can Excel Templates contain macros?

Thanks

A

.


Dave Peterson[_2_]

Macros in teplates
 
Yes.

But I'm not sure if I would. When those macros need updating (and they always
do!), it'll be difficult/impossible to find all the existing workbooks that have
been created from that template (or copies of the workbooks based on that template).

I'd consider creating an addin that contained the code (a single addin) and
sharing that with the users who need the macros.



On 05/19/2010 02:37, Alex Hammerstein wrote:
Hi

Quick question - can Excel Templates contain macros?

Thanks

A


bala_vb

Quote:

Originally Posted by Alex Hammerstein (Post 954583)
Hi

Quick question - can Excel Templates contain macros?

Thanks

A


Yes, if you are using excel 2003, you can directly write the code .xls file

if you are using excel 2007, .xlsm support macros whereas .xlsx doesnt support macros.

in both cases make sure that macro security setting is low/trusted.

all the best


All times are GMT +1. The time now is 05:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com