View Single Post
 
Old 01-06-2024, 04:23 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

There is a big risk that macros contained in files you access/download from a web application so Microsoft disables the macros. This protects users from malicious code running without their explicit approvals.

Are you needing this macro to run just on your machine or does it need to work on unknown users machines? I would probably put the macros in a template which is already on the machine and make that template the 'attached template' so that when the file is opened, it runs the macros from a pre-trusted location.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote