|
本帖最後由 willy84222 於 17-4-3 14:39 編輯
請問我該如何修改程式碼?
想要下載的有1.三大法人買賣金額統計表 2.信用交易統計 3.信用額度總量管制餘額表
[url=]證交所三大法人買賣超日報.JPG ...[/url]- Option Explicit
- Sub 證交所三大法人買賣超日報()
- Dim qdate As String, select2 As String
- qdate = "106/03/31"
- select2 = "ALLBUT0999"
- With ActiveSheet.QueryTables.Add(Connection:= _
- "URL;如圖所示", Destination:=Range( _
- "$A$1"))
- .Name = "證交所三大法人買賣超日報"
- .FieldNames = True
- .RowNumbers = False
- .FillAdjacentFormulas = False
- .PreserveFormatting = False
- .RefreshOnFileOpen = False
- .BackgroundQuery = False
- .RefreshStyle = xlOverwriteCells
- .AdjustColumnWidth = False
- .WebSelectionType = xlSpecifiedTables
- .WebFormatting = xlWebFormattingNone
- .WebTables = "2"
- .PostText = "qdate=" & qdate & "&select2=" & select2
- .WebPreFormattedTextToColumns = True
- .WebConsecutiveDelimitersAsOne = True
- .WebSingleBlockTextImport = False
- .WebDisableDateRecognition = True
- .WebDisableRedirections = False
- .Refresh BackgroundQuery:=False
- End With
-
- End Sub
複製代碼
|
-
證交所三大法人買賣超日報
|