Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Every single day i have to go to this website http://www8.tjmg.jus.br/juridico/diario/index.jsp and collect the text that is inside all of the "Instância/Foro"(starting from "Interior") and put it in word. I have to do all the labor with "ctrl+c" "ctrl+v". Lately, i was studying about VBA, and i think there is someway i could assemble a macro to enter inside the links and copy the stuff i need.

All the links are almost the same something like this "http://www8.tjmg.jus.br/juridico/diario/index.jsp?dia=2911&completa=interior%7C0002" the only things that change are the "dia=2911" that refers to the day and the month and "interior%7C0002" that refers to the code of the index.

Also, i need the macro to catch things only by the word COMARCA, and if the word isn't there (if the index is empty there is a message, or some bug that makes the word COMARCA to don't appear), i need it to not copy and make a list of the ones with the problem.
Posted
Comments
Maciej Los 2-Dec-13 16:57pm    
I think it's possible, but...
I would ask the provider of "juridico" about API.

1 solution

This should be helpful for you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900