Attachment 363997i am finding data based on prdouct name-->Remanufactured-75P6961-Laser-Toner--21000-Page-Yield--Black__IVR86961.aspx
i have attached my Sheet book71
In Sheet i have created an Userform
URL ---->textbox1
ProductName---->textbox2
Submit--->Button
please let me know
Sub toner()
'
' toner Macro
'
'
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://www.myinnovera.com/Products/Remanufactured-75P6961-Laser-Toner--21000-Page-Yield--Black__IVR86961.aspx" _
, Destination:=Range("$A$1"))
.Name = _
"Remanufactured-75P6961-Laser-Toner--21000-Page-Yield--Black__IVR86961"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlAllTables
.WebFormatting = xlWebFormattingNone
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
End Sub
Bookmarks