I have a reasonably large file with VBA code and Userforms. Frequently, upon closing this file I receive the error "Microsoft Visual Basic for Applications - Out of memory". Once I have closed the error message the entire Excel application and all open workbooks are shutdown and Excel restarts. The problem seems to occur most often when I have been in the VB editor but I cannot say that it only happens then. This issue happens even after I have cleared the clipboard (which I have never had to do before for any other file). I have rebuilt the file., I changed Excel to have Admin rights but that screwed up other things and had to have MS fix that. Help!