Micro Focus QTP (UFT) Forums
Datatable.importsheet error - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Datatable.importsheet error (/Thread-Datatable-importsheet-error)



Datatable.importsheet error - niks19 - 08-04-2015

I am getting error in 'Datatable.Importsheet' function. But if i use datatable.import then the script is running alright?

Please suggest what may be the reason


RE: Datatable.importsheet error - kbhargava505 - 08-04-2015

What is the exact error you are getting?


RE: Datatable.importsheet error - ADITI1992 - 08-21-2015

plz add sheet before importing..
datatable.AddSheet (3)
then use importsheet
datatable.ImportSheet "C:\Users\Desktop\KEYWORD.xls",1,3