03-12-2010, 03:27 PM
Just use below code.. and provide your desired path and run...
make sure that excel file have extension .xlsx
dim xl
set xl=createobject("excel.application")
xl.visible=true
xl.workbooks.open("E:\Baba_QTP\QTP\Data\a.xlsx")
set xl=nothing
make sure that excel file have extension .xlsx
dim xl
set xl=createobject("excel.application")
xl.visible=true
xl.workbooks.open("E:\Baba_QTP\QTP\Data\a.xlsx")
set xl=nothing