[VBA ] 網址為變數
想請教一下各位大大 我要抓某網頁的資料
那其中一段是
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://tw.stock.yahoo.com/d/s/dividend" + "_" + XXXX +
".html", Destination:=Range( _
"$A$1"))
.Name = "dividend_XXXX"
XXXX的部分為EXCEL檔的表格的資料
可是我不知道要怎麼把他跟原來的網址合在一起
還請各位大大幫忙一下
感謝
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 112.105.124.62
推
02/20 20:20, , 1F
02/20 20:20, 1F
→
02/20 22:50, , 2F
02/20 22:50, 2F
→
02/20 23:28, , 3F
02/20 23:28, 3F