Macro works when called manually, misbehaves when linked to icon
I have a weird situation.
I have the following code
Code:
---------
Sub Email_PDF()
Application.EnableEvents = False
Call fileProtection(False)
https://www.excelforum.com/sho....wthread.php?t=142359
Discover the world at Altruu, The Discovery Engine