Forum Discussion

venkaiah_gangav's avatar
venkaiah_gangav
Occasional Contributor
11 years ago

DDt driver not working

Hello there, I am facing the problem that

" VBScript runtime error, The Excel worksheet "C://test.xlsx" does not exist" in the below code




Sub TestDriver


  Dim Driver


  Set Driver = DDT.ExcelDriver("C://test.xlsx", "Sheet1") 


 


  RecNo = 0


  While Not Driver.EOF()


    Call ProcessData() 


    Call Driver.Next() 


  WEnd


  Call DDT.CloseDriver(Driver)


End Sub



please help me..



Thanks in advance....