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
What are the advantages of vbscript?
what is the standards used for writing the script in QTP
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
how to set one column as primary key in QTP and fetch values accordingly
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
What is the use of the date function in the vbscript language?
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
Explain the extension .hta?
What are the different types of loops available in the vbscript language?
how does vb script help in web page designing? explain with example.
Which operator can be used to change the value of the operand or change the state of the condition?
How will you format a number in percetage format in vbscript?