I want to import the sheet from the Excel to the Datatable
using VB Script. I used the Syntax
as 'Datatable.ImportSheet "Filename","SourceSheet","Destinat
ionSheet"
Ex:
Datatable.ImportSheet "D:\Data1.xls","Sheet1","Global"
Qtp producing run time error,How I can solve the problem
Answer Posted / swayam.nayak
Instead of writing Datatable.ImportSheet "D:Data1.xls","Sheet1","Global" this
Try to put this code
"D:Data1.xls","Sheet1","1"
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the 2 ways in which a variable can be declared in the vbscript language?
what types of bugs will we find out in banking projects for automation testing?
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
What is the main difference between function and sub-procedure?
If else for do while select in vb script?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Explain about the extension .hta?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
Explain the adodb.stream class?
Explain about the support of asp for vb script functionality?
When does ‘on click of button’ event gets triggered in the vbscript language?
give me any information abou vb script books learn quckly
about vb scripting programs this type of all question& answers
How to add actions in driver script to run those actions in QTP?