Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting cell number from excel sheet
#2
Not Solved
hi,

You can use following code. You can also iterate for all the columns as well

row
Code:
rowCount= DataTable.Getsheet("Global").RowCount
For i = 1 to rowCount
        DataTable.GetSheet("Global").SetCurrentRow i        
        If    DataTable.Value(<Column Name>, "Global") = "Result" Then
                                      MsgBox Found
                          end If

You mean cell number.
ok on top of what I have mentioned above you can use the following statement to find the Cell Value.

Code:
cellValue=workSheets("1").range(<your range of columns>.Value
range of the column could be ($P$1) like that.
Reply


Messages In This Thread
RE: Getting cell number from excel sheet - by Tarik Sheth - 07-23-2012, 06:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading data from excel sheet serenediva 1 9,833 03-03-2017, 10:07 AM
Last Post: vinod123
  How import final calculated values by cell formula from Excel not the formula itself. qtped 1 4,977 01-17-2017, 04:05 PM
Last Post: sagar.raythatha
Smile Importing Excel sheet - Reference Values are not recognized michiusa69 3 8,029 01-23-2015, 02:36 AM
Last Post: lkng2001
  How to pass a date from Excel sheet to web form revati.shendure 1 3,061 11-27-2014, 11:54 AM
Last Post: revati.shendure
  clearing excel sheet values beejfred 1 7,666 09-25-2014, 11:43 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)