![]() |
Set the column header in the excelsheet before importing it to local datasheet - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Set the column header in the excelsheet before importing it to local datasheet (/Thread-Set-the-column-header-in-the-excelsheet-before-importing-it-to-local-datasheet) |
Set the column header in the excelsheet before importing it to local datasheet - nageshpv - 08-04-2008 Hi, I need to set the column header of the excel sheet before importing it in to the QTP local datatable. Please let me know how to do it. Thanks. RE: Set the column header in the excelsheet before importing it to local datasheet - surya_7mar - 08-04-2008 Try adding your columns names using the below code to your Data Sheets. Code: DataTable.AddSheet "DBOutput" RE: Set the column header in the excelsheet before importing it to local datasheet - nageshpv - 08-04-2008 Hi thanks, i found the solution. Code: Set ExcelObj = CreateObject("Excel.Application") |