Following up to a previous question I had, when I wshell.run "c:\test.xls" I create an instance of Excel that is not visible...in VBA I would add an oExcel.Visible=True. How do I do this in vbscript??
If you need more control or just to open up an xls file in the interface for users to interact with it, you can always do it simply like this.
[tt]
[green]xlfile="d:\test\xyz.xls"[/green]
set oxl=createobject("excel.application")
oxl.visible=true
oxl.workbooks.open xlfile
set oxl=nothing
[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.