ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] http§ó§ï¦¨https¡Aºô¯¸§ì¤£¨ì¸ê®Æ

¦^´_ 1# jewayy

¥i¥Hµ¹§Ú¤@²Õ¯u¹ê¦s¦bªº³æ¸¹¶Ü?
¤£µM§Ú¨S¿ìªk´ú¸Õ@@"

TOP

¥»©«³Ì«á¥Ñ lalalada ©ó 2012-8-10 15:38 ½s¿è

¸Õ¸Õ³o­Ó~
  1. Sub TryIt()
  2. webURL = "URL;http://public-cpd.mtnet.gov.tw/pub_newquery/query_national.asp?sel=3&id=16834268&sel01=2&portcode=TWKHH&interval=Y&YYYY1=2012&MM1=06&DD1=01&YYYY2=2012&MM2=07&DD2=01"
  3. With ActiveSheet.QueryTables.Add(Connection:=webURL, Destination:=Range("A1"))
  4. .PreserveFormatting = True
  5. .Refresh BackgroundQuery:=False
  6. End With
  7. End Sub
½Æ»s¥N½X
¬O¦³§ì¨ì¸ê®Æ ³o¬O§A­nªº¶Ü?
©êºp¦]¬°³o½g³Q¬~¤U¥h¤F ²{¦b¤~¬Ý¨ì@@
¯u­n»¡¸ò§A­ì¥»ªºcode¦³¤°»ò¤£¤@¼Ëªº¸Ü
´N¬O"?"¤F^.<

TOP

        ÀR«ä¦Û¦b : ¦Û¤v®`¦Û¤v¡A²ö¹L©ó¶ÃµoµÊ®ð¡C
ªð¦^¦Cªí ¤W¤@¥DÃD