08-17-2011, 04:57 PM
Hi Lorena,
Maybe you could try using the mathematical formula to get any odd number:
Odd Number = n*2+1
You just have to start your sequence with n=2 (2*2+1 = 5). Then just increase your n until you reach the last link (if you have 13 links then the last n will be 15, 15*2+1 = 31)
You could assign the index you want to your object using
This way you could go increasing you index two by two, by increasing n one by one.
I hope this could help you.
Luth.
Maybe you could try using the mathematical formula to get any odd number:
Odd Number = n*2+1
You just have to start your sequence with n=2 (2*2+1 = 5). Then just increase your n until you reach the last link (if you have 13 links then the last n will be 15, 15*2+1 = 31)
You could assign the index you want to your object using
Code:
Browser("Wisdom").Page("WisdomLogin").Frame("parent").WebTable("Document Type").SetTOProperty "index", n*2+1
This way you could go increasing you index two by two, by increasing n one by one.
I hope this could help you.
Luth.