I have a user with a brand new machine with Win 7 x64 SP1 (6.1.7601), downgraded from Win 8, on it plus Office 365 Small Business Premium with PowerPoint 2013 32 bit (15.0.4649.1000).
I am debugging a PPAM add-in and have narrowed it down to a very bizarre situation I've never seen before:
- Create a new PowerPoint file
- Open the VBE, insert a module and add a one line sub as below
- Save it as a PPAM
- Load the PPAM add-in and see the message
- Close PowerPoint
- Open PowerPoint and it crashes with the message "Microsoft PowerPoint has stopped working" and the sub-text "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."
- I kill PowerPoint and when running again am asked the usual question if I want to disable the "offending" add-in
What on earth can cause such behaviour? No other PPAM add-ins are running and I have tried with all COM add-ins disabled and with running powerpnt /safe
My one line test sub inside the PPAM:
Sub Auto_Open()
MsgBox "It works"
End Sub
Btw, the full (and very complex) add-in works perfectly when loaded in its source PPTM form.