第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

我的Web查詢宏的問題

我的Web查詢宏的問題

HUH函數(shù) 2019-11-20 14:46:34
我編寫了一個Web查詢宏,用于根據(jù)單元格A1中的值從Yahoo Finance導(dǎo)入財務(wù)報表。在過去的幾周中,它一直無縫運行,但是突然,它不再返回任何數(shù)據(jù)(但不會產(chǎn)生錯誤)。如果有人有任何見解,請多多關(guān)照。我在下面發(fā)布了代碼-謝謝!Sub ThreeFinancialStatements()   On Error GoTo Explanation   Rows("2:1000").Select    Selection.ClearContents    Columns("B:AAT").Select    Range(Selection, Selection.End(xlToRight)).Select    Selection.ClearContents    Dim inTicker As String    inTicker = Range("A1")    ActiveSheet.Name = UCase(inTicker)    GetFinStats inTicker    Exit SubExplanation:   MsgBox "Please make sure you type a valid stock ticker symbol into cell A1 and are not trying to create a duplicate sheet." & _   vbLf & " " & _   vbLf & "Also, for companies with different classes of shares (e.g. Berkshire Hathaway), use a hyphen to designate the ticker symbol instead of a period (e.g. BRK-A)." & _   vbLf & " " & _   vbLf & "Please also note that not every company has three years of financial statements, so data may appear incomplete or missing for some companies.", _  , "Error"   Exit SubEnd SubSub GetFinStats(inTicker As String)'' GetBalSheet Macro''    With ActiveSheet.QueryTables.Add(Connection:= _        "URL;http://finance.yahoo.com/q/bs?s=" & inTicker & "+Balance+Sheet&annual", Destination:= _        Range("$D$1"))        .Name = "bs?s=PEP+Balance+Sheet&annual"        .FieldNames = True        .RowNumbers = False        .FillAdjacentFormulas = False        .PreserveFormatting = True        .RefreshOnFileOpen = False        .BackgroundQuery = True        .RefreshStyle = xlOverwriteCells        .SavePassword = False        .SaveData = True        .AdjustColumnWidth = True        .RefreshPeriod = 0        .WebSelectionType = xlSpecifiedTables        .WebFormatting = xlWebFormattingNone        .WebTables = "9"        .WebPreFormattedTextToColumns = True        .WebConsecutiveDelimitersAsOne = True        .WebSingleBlockTextImport = False        .WebDisableDateRecognition = False        .WebDisableRedirections = False        .Refresh BackgroundQuery:=False    End WithEnd Sub
查看完整描述

3 回答

?
白板的微信

TA貢獻1883條經(jīng)驗 獲得超3個贊

事實證明,雅虎結(jié)束了該應(yīng)用程序,網(wǎng)絡(luò)查詢從該應(yīng)用程序中提取了數(shù)據(jù)。感謝您的所有提示。


查看完整回答
反對 回復(fù) 2019-11-20
  • 3 回答
  • 0 關(guān)注
  • 591 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號