Retrieve Info from Webpage

LockTheVaught

New Member
Joined
Apr 20, 2015
Messages
1
Hello,

I'm trying to automate a process by which I log into a system using Internet Explorer via my company's internal website, insert a value from a cell on my excel spreadsheet into a particular field on the webpage, "hit enter" to go through to the next page, and retrieve the "grand total" value from the next page and place that value into a particular column of my spreadsheet. I have very little experience with Macros and VBA, so any help is greatly appreciated.

Thanks!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Welcome to MrExcel forums.

Search for "VBA InternetExplorer login" for example code for a start, though your final code will be different to the examples and specific to your website. You need to look at the HTML source of the web pages to see how the login fields and the value input field are defined in terms of HTML element tags, ids and names. The "hit enter" part is usually just submitting a HTML form or clicking a HTML button and waiting for the next page to load.

This thread is a good starting point - http://www.mrexcel.com/forum/excel-...e-ie-input-user-name-password-hit-submit.html.
 
Upvote 0

Forum statistics

Threads
1,215,963
Messages
6,127,954
Members
449,412
Latest member
montand

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top