Option Explicit Sub Auto_Open() MsgBox "AAA is loading" End Sub Sub Auto_Close() MsgBox "AAA is unloading" End Sub
When I load these and restart PowerPoint, I see the AAA loading message followed by the ZZZ loading message and then when I quit PowerPoint, I see the corresponding unloading messages, AAA first followed by ZZZ.
Option Explicit Sub Auto_Open() MsgBox "ZZZ is loading" End Sub Sub Auto_Close() MsgBox "ZZZ is unloading" End Sub
there appears to be no record of the order in which the add-ins were installed so is it as simple as an alphabetic order as indicated be the above? Is this a reliable detection method?
HKEY_USERS\S-1-5-21-1654165938-2830638315-1088483835-1001\Software\Microsoft\Office\15.0\PowerPoint\AddIns\Add-In AAA AutoLoad = 1 Path = Add-InAAA.ppam
From novice to tech pro — start learning today.