In case it matters, I'm using excel 2011 on mac.
It's essential.
My code assumes running in Windows (that's wscript.shell).