hey please tell me how to retriev data from excel sheet
which puts the login name and password in the application?
plz send me the code..please help me

Answer Posted / manjunathareddy

Set oExcel=CreateObject("Excel.Application")
Set oBook=oExcel.Workbooks.Open(Excelpath)
Set oSheet=oBook.Worksheets(Excelsheetnumber)
oRow=oSheet.Usedrange.Rows.Count
For i=2 to oRow
Un=oSheet.Cells(i,1).Value
Pwd=oSheet.Cells(i,2).Value
Msgbox Un
Msgbox Pwd
Next

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql loader? Explain the files used by sql loader to load file?

610


What is difference between vbscript and vba?

598


How are arrays declared in the vbscript language?

527


Explain about vb script?

738


What is the use of the date function in the vbscript language?

552






Mention how to assign a date value to a variable?

579


I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1539


where can i learn VB scripint ?

1584


How to Enter Values on the Command promt using VB script

1522


write a program to display configuration of a local system with the help of vb script.

1678


How will you check that a variable is an array in vbscript?

536


What is the difference between vb debugger and the script debugger?

573


How many types of operators are available in the vbscript language?

529


What are the 2 ways in which a variable can be declared in the vbscript language?

554


Which operator can be used to change the value of the operand or change the state of the condition?

566