Can source and destination sheet have same names? --Yes but if not the try 
with change name
Do both source and destination sheet have to have same column names?-- Yes, 
but if not the try with change name

 DataTable.ImportSheet Environment("TestSuite"),ModuleName,"Global"  '''''''
Environment("TestSuite")= path, ModuleName= Sheet name, Global means qtp 
global sheet..let it be like this




On Thursday, November 24, 2016 at 12:05:44 AM UTC+1, [email protected] wrote:
>
> Hi,
>
> I've a excel sheet called "User_Info.xls" with two tabs, Global and 
> UserData
>
> Default.xls also has Global and UserData tabs
>
> Why doesn't the following work?
>
> Datatable.ImportSheet "C:\User_Info.xls" , "UserData", "UserData" 
> My file extenstion is .xls
>
> Please help me understand the following:
> Can source and destination sheet have same names?
> Do both source and destination sheet have to have same column names?
>
>
> Thanks in advance
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to