Results 1 to 4 of 4

Thread: Not able to set value in the datafilter drop down

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Answers
    7

    Question 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.


  2. #2
    Expert Member
    Join Date
    Apr 2007
    Answers
    147

    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


  3. #3
    Junior Member
    Join Date
    Mar 2007
    Answers
    7

    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.


  4. #4
    Expert Member
    Join Date
    Apr 2007
    Answers
    147

    Re: Not able to set value in the datafilter drop down

    Fine. No problem.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact