? Suppress Microsoft Security alerts when automating in visio: OpenEx(path\myfilename.vss)
Posted on 2011-09-18
Hi, I am automating a visio procedure which includes:
Set docRuleStencil = Visio.Documents.OpenEx(myPath\myFilenane ".vss", visOpenDocked + visOpenCopy)
This line --> security alert notice "enable or disable macro"s, andh cites the filepath above.
I think I'd like to suppress this message because I know the .vss file I'm calling, and I dont want the user worried by warnings. I'd like to turn the warning back on when the .vss has been opened.
Is this approach good practice for an application that is to be used by several/many people, not all under my control? ... and how do I effect it in my VBA procedure?