The Winword VBA IDE works fine, so it is only in Excel at the moment.
I tried reinstalling, I tried Excel> Resources> Diagnostic Tool, which reported that I fixed 1 question, but the problem remained.
Effectively, the Visual Basic Editor compiles every second (or less) and removes spaces.
The ugly job is to put a single quote after your cursor and it will not remove the spaces, but that is just plain stupid.
I am currently waiting for Office 2007 Enterprise to Change> Restore to finish and test it again, otherwise I will stick to a single quote.
source share