Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Searching for and selecting row in Datawindow
#1
Not Solved
In my datawindow, I have a column named Code. I’m attempting to locate the cell in that Code column that says GEBRTS, then have the script activate that cell for me. Forgive my newness, trying to give what info I can.

my first attempt:

Code:
For row = 1 to PbWindow("lems"). PbWindow("elect").PbDataWindow("select").RowCount
If PbWindow("lems"). PbWindow("elect").PbDataWindow("select").GetCellData (row,col) = "GEBERTS" Then
Exit For
End If
Next


It runs and local variables show:

Name Value Type Name
Row 23 Long
Col Empty User-defined Type

Any thoughts or ideas for me?
Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem selecting in a dropdown menu during playback. qemls29 9 12,418 07-28-2015, 05:44 PM
Last Post: Sharan
  Selecting Link Magad 1 2,649 11-07-2014, 03:56 AM
Last Post: PrateepKaraval
  selecting values from the dropdown webelement poojaarora014 3 17,631 04-22-2014, 12:12 PM
Last Post: basanth27
  Selecting child node from Wintree object ajith123 2 4,983 02-26-2014, 02:12 AM
Last Post: supputuri
  data sheet row count rushil 2 7,377 12-07-2012, 03:10 AM
Last Post: rushil

Forum Jump:


Users browsing this thread: 1 Guest(s)