Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to search a value in excel sheet using vb script
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Simple query repeated a 1000 times..Anyways i will give you the logic, go ahead and build your code.

1. Exploit Excel COM component (Excel.Application)
2. Set reference to the active workbook and then to the active worksheet.
3. find the total row count.
4. Use the For loop to loop through and read through the rows and cells.
5. Compare the data retrieved to match with the one you need.

Search this forum with the keyword Excel, read and build your code from the clues i have supplied.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: How to search a value in excel sheet using vb script - by basanth27 - 10-07-2009, 03:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to select value from google search box dropdown +QTP prajyot 0 2,925 06-28-2017, 06:30 PM
Last Post: prajyot
  Trying to create List box in excel sheet at Run time with values yes No JACKSPARROW 0 1,738 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
  Search and import data from excel under some rules. nwpulele 2 2,978 02-19-2015, 04:10 AM
Last Post: supputuri
  Excel and Driver Script shipu 1 3,866 02-27-2014, 09:09 AM
Last Post: supputuri
  Custom sort -Excel Sheet kiran 1 3,901 01-28-2014, 09:23 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)