Daniel Brassard
asked on
disable excel add-in
hi all,
I'm looking for information on how to script the removal of some excel add-in.
what I tried so far is some PowerShell that creates a COM object with excel.application, locates the add-in to remove and set it to not installed with:
($wb.Application.AddIns | Where-Object { $_.name -eq 'sapbex.xla' }).Installed = $false
but when I open excel, the add-in is still enabled.
is there someone here with more information on this, or that has a clue about what I am doing wrong?
thank you!
I'm looking for information on how to script the removal of some excel add-in.
what I tried so far is some PowerShell that creates a COM object with excel.application, locates the add-in to remove and set it to not installed with:
($wb.Application.AddIns | Where-Object { $_.name -eq 'sapbex.xla' }).Installed = $false
but when I open excel, the add-in is still enabled.
is there someone here with more information on this, or that has a clue about what I am doing wrong?
thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
valid recommendations provided by experts