data extraction

frtnamu

New Member
Joined
Jun 24, 2021
Messages
3
Office Version
  1. 2013
[KOD=vba]


Sub sell()
Dim sk As Worksheet
Dim u As Range
Set sk = Sheets("sf")
Dim i As Integer

Dim ie As Object
Dim document As HTMLDocument

Set ie = Nothing
Set ie = CreateObject("InternetExplorer.Application")

ie.Visible = True
For i = 2 To sk.Range("c" & Rows.Count).End(xlUp).Row
'order no
ie.navigate "Amazon Sign In" & Cells(i, "c") & "/"

' With HTMLDoc
' .all.Item("email").Value = "....."
' .all.Item("password").Value = "......"
' .all.Item("signInSubmit").Click
' End With
Do
DoEvents
Loop Until ie.readyState = READYSTATE_COMPLETE

Application.Wait (Now + TimeValue("0:00:08"))
Set document = ie.document

'Set tarih = HTMLDoc.getElementById("Order-Summary-purchase-Date-Value")
Set u = Nothing
Set u = document.getElementById("product-name-column-word-wrap-break-all")
Range("d" & i).Value = u.innerText
Set document = Nothing
Next
End Sub

[/KOD]

classs.jpg


hello
more-info-column-word-wrap-break-word
product-name-column-word-wrap-break-all
Order-Summary-purchase-Date-Value
how can i get this data
thanks
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Please provide links to any other sites where you have asked this question.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,592
Members
449,089
Latest member
Motoracer88

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