Open .xls file in VBS script

August 17, 2010 at 06:38:24
Specs: Windows XP/2003 Server
Hi, I'm trying to find the command to open a .xls file in vbs script (or batch file, it's the same for me). I need to open it, do some other tasks and then close it.
Please help me!

Stefano


See More: Open .xls file in VBS script

Report •

#1
August 17, 2010 at 09:45:21
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True

Report •

#2
August 18, 2010 at 06:10:56
That worked.
Thanks!
Stefano

Report •
Related Solutions


Ask Question