Copy the details from Website to excel

motherindia

Board Regular
Joined
Oct 15, 2015
Messages
218
Hello Sir,

Wishing you all very very happy new year 2017.

I have small query in the following thread. Currently it will copy the cell value from A2:E2 to website.

How can I copy the results from the above to excel sheet.

sub check
Dim IE As Object
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
'Go to this Web Page!
IE.navigate "Tax Calculator"
'Check for good connection to web page loop!
Do
If IE.readystate = 4 Then
IE.Visible = False
Exit Do
Else
DoEvents
End If
Loop
'Wait for window to open!
Application.wait (Now + TimeValue("0:00:01"))
IE.Visible = True
SendKeys Worksheets("Sheet3").Range("a2").Value, True 'change here logon info
SendKeys "{TAB}", True
SendKeys Worksheets("Sheet3").Range("b2").Value, True 'change here password info
SendKeys "{TAB}", True
SendKeys Worksheets("Sheet3").Range("c2").Value, True 'change here password info
SendKeys "{TAB}", True
SendKeys Worksheets("Sheet3").Range("d2").Value, True 'change here password info
SendKeys "{TAB}", True
SendKeys Worksheets("Sheet3").Range("e2").Value, True 'change here password info

End sub


Regards,
motherindia
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,214,395
Messages
6,119,265
Members
448,881
Latest member
Faxgirl

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