View Single Post
 
Old 07-25-2017, 03:17 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You cannot access the VBA environment programmatically (e.g. import VBA modules, forms, etc.) unless you give trusted access to the VBA project object model. Every user who is supposed to use the procedure would have to enable that access manually, as it cannot be granted programmatically. Giving trusted access to the VBA project object model on even one PC renders every PC on the network susceptible to macro viruses and is not to be recommended except for the very brief period such access is actually required.

I suggest you rethink whatever it is you're trying to achieve.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote