How to export data present in Datatable to an ".xls"

file?

Answers were Sorted based on User's Feedback



How to export data present in Datatable to an ".xls" file?..

Answer / sailaja

a=Datatable.Value("path")
msgbox a

Is This Answer Correct ?    1 Yes 5 No

How to export data present in Datatable to an ".xls" file?..

Answer / sreeprasad

DataTable.Export("Path of the sheet")

or DataTable.ExportSheet("Path of the sheet",Index of the

runtime datatable u want to export")

Is This Answer Correct ?    2 Yes 8 No

How to export data present in Datatable to an ".xls" file?..

Answer / chinna

Hello,

Export data into Excel Sheet we will follow 2 methods.

1. Datatable.Export("Path of the sheet")
2. Datatable.Exportsheet "Path of the sheet",Source sheet id

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More QTP Interview Questions

How to use reporter.report event in qtp ?

0 Answers  


How to capture a window in QTP?

0 Answers   IBM, Mphasis,


i need the word "good morning" to be displayed by default whenver we click upon the blank test while opening the qtp. Could you please answer...

7 Answers  


What are the methods of the TextStream object that are used for reading from a text file?

0 Answers  


if i want to check text on the status bar how to test is i need the report also after getting the result weather it is matched or not?

2 Answers  






How do Parameterization and Data-Driving relate to each other in QTP?

0 Answers  


can a Function return more than one value..??? if so please give me the code for that.

5 Answers   DST Global Solutions,


Please tell me the steps to record the test in Analog recording mode in QTP version 9.2???

2 Answers  


How to convert QTP's ObjectRepository.mdb file to xml file

1 Answers  


Hi Currently am using Qtp 10.0 Lisenced product.. but when am adding objects to object repository from google page it was identifying as windows objects.. please help me!!!

3 Answers  


What is descriptive Programming in qtp.

5 Answers  


difference between multiple parameterization and data driven wizard in QTP?

1 Answers  


Categories