A
Amitava
Following code opens Excel in hidden mode in Office 2007 SP1, but not in SP2
(using any .Net 2.0/3.0/3.5). Probably an SP2 bug?
*************************************************
Set myshell = WScript.CreateObject("WScript.Shell")
myfile = "C:\mytest.xls"
myshell.Run """C:\Program Files\Microsoft Office\Office12\EXCEL.EXE """ &
myfile, 0, True
*************************************************
Workarounds? Please let me know.
Thanks,
Amitava
(using any .Net 2.0/3.0/3.5). Probably an SP2 bug?
*************************************************
Set myshell = WScript.CreateObject("WScript.Shell")
myfile = "C:\mytest.xls"
myshell.Run """C:\Program Files\Microsoft Office\Office12\EXCEL.EXE """ &
myfile, 0, True
*************************************************
Workarounds? Please let me know.
Thanks,
Amitava