Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

@bradeneuropeArthur ,

 

I get the following error because the object is not set at the line aai.Activate.

rcolon9E4ZX_0-1633973134242.png

 

This way seems to work though. I have executed multiple times in a row with no error.

Dim aai As ApplicationAddIn
Set aai = ThisApplication.ApplicationAddIns.ItemById("{48B682BC-42E6-4953-84C5-3D253B52E77B}")

aai.Deactivate
Set aai = Nothing

ThisApplication.ApplicationAddIns.ItemById("{48B682BC-42E6-4953-84C5-3D253B52E77B}").Activate

 

 

Thank you.

Rafael