Hello all,
I've been trying to extract data from a website, Sedar.com. I want to extract all of the funds data from their site. For example, if you goto Sedar.com > English > Issuer Profiles > Investment Funds and Click on A and click on Abacus Funds and extract the funds detail- I want to be able to do that for every single fund in A-Z. So far I came up with this but have been finding it hard to build on it:
Sub Test3()
'
' Test3 Macro
'
'
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://www.sedar.com/DisplayProfile.do?lang=EN&issuerType=02&issuerNo=00010233" _
, Destination:=Range("$A$1"))
.Name = "DisplayProfile.do?lang=EN&issuerType=02&issuerNo=00010233"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = "2"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
Range("D19").Select
End Sub
Bookmarks