Microsoft update allowing macros to run?

George J

Well-known Member
Joined
Feb 15, 2002
Messages
959
This is an unusual observation, so my apologies if it has been covered elsewhere.

Previously when I opened any workbook that contained macros, I got a popup message requiring me to enable or cancel. This is still the case if I open a file on my C drive, but not a file I open from a network location. I am asked the first time I open the file, but not after this.

The setting for this is under File>Options>Trust Center>Trust Center Settings
Under Trusted locations, Allow Trusted Locations on my Network (not recommended) is unticked
Under Trusted Documents, Allow documents on a network to be trusted is ticked - seemingly by default.

Does this not pose a security risk if a file with malicious code is saved and opened from the network? I am sure that this did not used to be the case and that users had to enable macros every time they opened a document containing macros. We have recently changed from physical to cloud servers so I am not sure if that is the difference, but wanted to ask for opinions as to whether this is something new and if you would rather be asked before macros are run on your system?
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
34,317
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
It's not new. Once you trust a document to run macros, you shouldn't be asked again after that.
 

George J

Well-known Member
Joined
Feb 15, 2002
Messages
959
Thanks Rory

I was not sure if the behaviour change was as a result of an update making the default to be: allow documents on a network to be trusted. We previously had to enable each time so i wondered if this was something new or a change to the default setting.
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
34,317
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
I’m not aware of an update making that change. Could be a group policy if you’re at work?
 

Forum statistics

Threads
1,081,518
Messages
5,359,236
Members
400,523
Latest member
ExcelNewbie98

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top