Good one, thanks. I had thought about that before but forgot to check earlier.
Started Excel in safe mode, ran the code and still crashed