Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Define variables
- switch1 = 1
- count = 0
- rowx = 0
- colx = 0
- # Loop
- while switch1 == 1 and count < totalCells:
- print "AAAA"
- cellValue = "Long string in here....."
- if sh.cell_value(rowx=0, colx=0) == cellValue:
- print "BBBB"
- switch1 = 0
- rowx += 1
- colx += 1
- count += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement