-
Junior Member
Not able to set value in the datafilter drop down
Hi friends, i am using the following piece of code to select a value in the data filter drop down and running it in a loop for 7data filters. ====== for intcounter = 0 to 6 strvaluefilter =trim( xlusedrange.cells(intcounter + intglobalcounter, 4).value) if strvaluefilter = "all" then browser("leadership dashboard-").page("leadership dashboard-").webbutton("type:=button", "index:=" & intcounter).click browser("leadership dashboard-").page("leadership dashboard-").link("name:=" & strvaluefilter,"index:=" & intcounter).click else if (intcounter = 0 or intcounter =1) then browser("leadership dashboard-").page("leadership dashboard-").webbutton("type:=button", "index:=" & intcounter).click browser("leadership dashboard-").page("leadership dashboard-").link("name:=" & strvaluefilter, "index:=" & intcounter).click else browser("leadership dashboard-").page("leadership dashboard-").webbutton("type:=button", "index:=" & intcounter ).click browser("leadership dashboard-").page("leadership dashboard-").link("name:=" & strvaluefilter , "index:= 1" ).click end if end if next ======== but after seting value in a datafilter(say 3rd one)when it's setting value to the 4th filter,the 3rd filter value is getting reset to "all" please suggest me how i can solve this. Thanks. Chiranjib.
-
Expert Member
Re: Not able to set value in the datafilter drop down
Can you plzzzzz put the code with line breaks. Its very difficult to understand this code
-
Junior Member
Re: Not able to set value in the datafilter drop down
Thanks debleena for ur interest in this topic.But i had posted it long ago.
I had already resolved the issue.so i guess it will hardly matter.
-
Expert Member
Re: Not able to set value in the datafilter drop down
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules