![]() |
|
#8
|
||||
|
||||
|
Surely any template that uses macros has a potential security risk? Templates are usually stored (and in Word 2016 at least) saved by default in the user templates folder (or used as add-ins in the Word startup folder). These folders will by default be trusted folders, so the macro stored in the template will run from those locations and present no greater potential risk than any other macro that may be in the document created from the template.
Some documents require macros to perform specific tasks, and if there is no connection back to the template (as would be the case if the document was mailed or otherwise passed to someone for completion) to run the macros from the template, then the macros need to be in the document. Clearly the user would require that macro enabled document to be trusted in order to run it, and that presents no more security issues whether the code is copied manually or by using a macro to copy it, but it is certainly more convenient to use macros to copy then save the document as macro enabled, than to do so manually. Macros in documents and templates (especially when prepared by others) do indeed present a potential danger and some end users may be unwilling to run them. That is universally true of all macros, but it remains a fact that some processes cannot be completed without macros. This of course requires users to take a leap of faith, depending on who has supplied the document, to enable the macros in order to run the process, and this remains true whether you supply just the document or make available the template to provide the macro functions.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
| Tags |
| macro transfer |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Newsletter created with template on Mac has many mistakes when opened on PC
|
neco23 | Word | 1 | 08-27-2015 09:53 PM |
When creating new template from established template macros getting lost.
|
TechEd | Word | 3 | 06-09-2014 07:22 PM |
Word Template is not recognised when opened by double click. Creates new document.
|
stevewak | Word | 8 | 03-19-2014 05:12 AM |
| Creating document from template but macros are still linked to template | webharvest | Word | 0 | 07-16-2011 09:34 AM |
Macros not working when template is emailed
|
EMH | Excel Programming | 1 | 07-06-2011 09:24 AM |