Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Disabling a Microsoft Office Add-On via COM

Ever find yourself invoking a Microsoft Office application, such as Word, via COM, and needing to disable an add-on in the process? Probably not, but in case you do, here is a PowerShell snippet showing how:

(($word = New-Object -ComObject word.application).comaddins | where {$_.description -eq "Name of Add-On"}).connect = $false; $word.visible = $true


This post first appeared on Hinchley.net, please read the originial post: here

Share the post

Disabling a Microsoft Office Add-On via COM

×

Subscribe to Hinchley.net

Get updates delivered right to your inbox!

Thank you for your subscription

×