Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-09-2017, 11:27 PM
MANOHAR MANOHAR is offline Windows 7 32bit Office 2007
Novice
 
Join Date: Jan 2017
Posts: 22
MANOHAR is on a distinguished road
Default enable and disable macro

Hello,



how can i enable and disable the macro trust settings in word programmatically using c#?

please help!
Reply With Quote
  #2  
Old 01-10-2017, 01:23 AM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 15,209
macropod is a name known to allmacropod is a name known to allmacropod is a name known to allmacropod is a name known to allmacropod is a name known to allmacropod is a name known to all
Default

It cannot be done programmatically.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 01-14-2017, 02:55 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 15,209
macropod is a name known to allmacropod is a name known to allmacropod is a name known to allmacropod is a name known to allmacropod is a name known to allmacropod is a name known to all
Default

Now cross-posted at: https://social.msdn.microsoft.com/Fo...?forum=worddev
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply
Please reply to this thread with any new information or opinions.

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Force a user to enable macros in Powerpoint? Hide sheets until the "enable" button is clicked copleyr PowerPoint 1 10-07-2016 01:15 AM
For multiple word document management, is it possible to enable or disable plugin ?? anfas Word 2 11-21-2013 10:23 PM
How to enable PowerPoint Macros? delete123 PowerPoint 3 03-27-2012 06:56 AM
macro enable disable issue davids67 Word 3 11-17-2011 12:33 AM
Enable/Disable Macro in Outlook JimDandy Misc 0 05-11-2006 06:17 AM


All times are GMT -7. The time now is 03:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft