I need a fairly complicated script here (complicated by my standards), excel is only used a bit as a reference for pulling numbers... either way let me know what you guys think about this little problem and if you can assist me
i have little VBA knowledge and it mainly consists of copying and pasting codes from the internet, but I do have SOME understanding on how to write a few of them out. So doing this on my own would be a large undertaking.
OK - I have a spreadsheet with a long list of numbers on it going straight down a column, usually column B but it really doesn't matter.
now... I am copying a number from that list and pasting into an "intranet" page on our company's server that is run by java script.
the number is a reference number for a customer's record in our files
so here is what is going on.
I am copying the number (around 5-8 digits) into a box and hitting a "submit" button on the page (submit button is java script of course)
after it loads up it gives information about the record the number referes to.
sometimes loading the record can take anywhere from 5 seconds to 5 minutes. So after the record's information loads up there is another java button that loads on the page that says "cancel 212421" (the 212421 is an example of the numbers I will be pulling from the excel page) I need to click that button and let the page reload again, once the page reloads I need to take ANOTHER number from the excel sheet and paste it into the box again and submit again and cancel again, and this just goes on and on all day...
I want to automate this so I don't have to do it all day over and over.
so one full run of what I need automated is copying the number from the excel sheet, pasting it into the box on the intranet page, clicking "submit" and letting the page load. once it's loaded, click "cancel ###" let the page reload, go back to excel sheet for next number.
I thought about using sendkeys function to achieve it, but using Java Script in the buttons won't allow me to select it without using the mouse.
Also I need to be able to wait for the page to reload before continue with the script and I have no way of knowing how long it will take for it to completely finishing loading.
What would also be nice would be a "STOP" function that will somehow allow me to STOP the script if I need to.
I really hope someone can help me with this, it will save me a lot of time throughout my day.
if you don't think the ENTIRE thing can be automated are there any parts of it that can?
Thanks guys!
i have little VBA knowledge and it mainly consists of copying and pasting codes from the internet, but I do have SOME understanding on how to write a few of them out. So doing this on my own would be a large undertaking.
OK - I have a spreadsheet with a long list of numbers on it going straight down a column, usually column B but it really doesn't matter.
now... I am copying a number from that list and pasting into an "intranet" page on our company's server that is run by java script.
the number is a reference number for a customer's record in our files
so here is what is going on.
I am copying the number (around 5-8 digits) into a box and hitting a "submit" button on the page (submit button is java script of course)
after it loads up it gives information about the record the number referes to.
sometimes loading the record can take anywhere from 5 seconds to 5 minutes. So after the record's information loads up there is another java button that loads on the page that says "cancel 212421" (the 212421 is an example of the numbers I will be pulling from the excel page) I need to click that button and let the page reload again, once the page reloads I need to take ANOTHER number from the excel sheet and paste it into the box again and submit again and cancel again, and this just goes on and on all day...
I want to automate this so I don't have to do it all day over and over.
so one full run of what I need automated is copying the number from the excel sheet, pasting it into the box on the intranet page, clicking "submit" and letting the page load. once it's loaded, click "cancel ###" let the page reload, go back to excel sheet for next number.
I thought about using sendkeys function to achieve it, but using Java Script in the buttons won't allow me to select it without using the mouse.
Also I need to be able to wait for the page to reload before continue with the script and I have no way of knowing how long it will take for it to completely finishing loading.
What would also be nice would be a "STOP" function that will somehow allow me to STOP the script if I need to.
I really hope someone can help me with this, it will save me a lot of time throughout my day.
if you don't think the ENTIRE thing can be automated are there any parts of it that can?
Thanks guys!
Last edited: