Good morning! I am developing a macro to click a few buttons on a page, but some are not working. Does anyone know why?
CLICAR BOTOES PAGINA.zip
Thanks in advance for any help.![]()
Please Login or Register to view this content.
Silmar
Good morning! I am developing a macro to click a few buttons on a page, but some are not working. Does anyone know why?
CLICAR BOTOES PAGINA.zip
Thanks in advance for any help.![]()
Please Login or Register to view this content.
Silmar
The code doesn't actually find the 'checklist' as the If isn't quite right.
This is looking at the innertext of obj, not obj2.
Also, it's looking for innerText to be the string '100'.![]()
Please Login or Register to view this content.
This will find the 'checklist'.
![]()
Please Login or Register to view this content.
If posting code please use code tags, see here.
Norie, I'm sorry, but do not get it right. I have to change the code like this:
You know how to "click" the button that takes you to the page "2"?![]()
Please Login or Register to view this content.
thank you very much
Why didn't you use the code I suggested?
What is it you actually want to do anyway?
The 'checklist' you seem to want to access is for setting the number of results that will appear on the page, not to move to the next page.
To move to the next page you need to click a button with the id 'tblScheduleData_next'.
![]()
Please Login or Register to view this content.
Norie, forgive me, but I made the changes you suggested, but is giving error in execution. See what I did:
The page has more than 200 lines, then even after clicking "100", I'll have to go to page "2" to download the remaining lines.![]()
Please Login or Register to view this content.
thank you very much for your help.
You haven't made the changes I suggested.
What is it you actually want to do?
Click to go to the next page or change the no of results that will appear on the the page?
This code will goto the next page.
![]()
Please Login or Register to view this content.
I want to:
1 - Select "100" on the checklist;
2 - Download the "100" lines;
3 - Click on "Next" (page2)
4 - Download the lines that are on page 2
The code to click "next" worked, but the code to select "100" on the checklist did not work.
thank you very much for your help.
I didn't post code to select 100 from the checklist.
I posted code to find the checklist - what you do with it then is up to you really.
OK. Thank you very much for your help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks