To be able to do this at all you would need to use a server side language that understands what Excel is.
First of all this script is really amazing. I like it. However I tried to use your script but it only allow to saved if you enable the "Internet Options-Security Level-Custom Level-"Initialize and script ActiveX controls not marked as safe" first. Is theres any way of doing this script avoiding these setup because most people will not enable this feature in internet explorer for secuirty purpose.