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

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

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

¥»©«³Ì«á¥Ñ jewayy ©ó 2014-1-9 22:00 ½s¿è

Dear ¦U¦ì¥ý¶i,

·Q­n¬d¸ßªººô­¶¦p¤U¡G

¹L¥hªºiqy¤º®e¦p¤U¡A§Y¥i¬d¨ì¸ê®Æ¡G
------------------------------------------------------------------------------------------------------------------------------
WEB
1
http://public-cpd.mtnet.gov.tw/pub_newquery/query_national.asp?sel=3&id=79193332
&sel01=2&portcode=-&YYYY1=2013&MM1=12&DD1=01&YYYY2=2013&MM2=12&DD2=31&interval=Y

Selection=1
Formatting=None
------------------------------------------------------------------------------------------------------------------------------
¦ý´X¤Ñ«eºô¯¸§ïª©¡A¸g¬d¸ß¥u¦³ºô§}§ó°Êhttp¬°https¡A©ó¬O§ó°Ê¤W­z¤º®e¬°https¡A¦ý³£¤U¸ü¤£¤F¬d¸ßµ²ªG¡A
²Ó¬Ýºô­¶­ì©lÀɪº¦U¶µ°Ñ¼Æ¤]³£¨S¦³§ó°Ê¡A·Q½Ð°ÝÀ³¸Ó¦p¦ó¸Ñ¨M©O¡AÁÂÁ¡C
Hi~

¥»©«³Ì«á¥Ñ GBKEE ©ó 2014-1-11 11:15 ½s¿è

¦^´_ 2# jewayy
¥[¤Ws´N¥i¥H¤F
  1. WEB
  2. 1
  3. https://public-cpd.mtnet.gov.tw/pub_newquery/query_national.asp?sel=3&id=79193332&sel01=2&portcode=-&YYYY1=2013&MM1=12&DD1=01&YYYY2=2013&MM2=12&DD2=31&interval=Y

  4. Selection=1
  5. Formatting=None
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

hi, ½Ð°Ý¦U¦ì¥ý¶i¬O§_¥i¥H¨ó§U¡C
ÁÂÁ±zªºÃöª`~
Hi~

TOP

ÁÂÁ¦U¦ì¥ý¶iªº¼ö¤ß¦^ÂФÎÀ°¦£¡A°ÝÃD¤w¸Ñ¨M¡A¤]¾Ç²ß¨ì«Ü¦h¡I
Hi~

TOP

¦^¤Ó§Ö,·d¿ù¤F,§A¦A°Ñ¦Ò¬Ý¬Ý
white5168 µoªí©ó 2012-8-10 16:57


§óºë²ªº§@ªk
  1. WEB
  2. 1
  3. http://public-cpd.mtnet.gov.tw/pub_newquery/query_national.asp?sel=3&id=16834268&sel01=2&portcode=TWKHH&YYYY1=2012&MM1=06&DD1=01&YYYY2=2012&MM2=07&DD2=01&interval=Y

  4. Selection=1
  5. Formatting=None
½Æ»s¥N½X

TOP

¦^¤Ó§Ö,·d¿ù¤F,§A¦A°Ñ¦Ò¬Ý¬Ý
  1. WEB
  2. 1
  3. http://public-cpd.mtnet.gov.tw/pub_newquery/query_national.asp?sel=3&id=16834268&sel01=2&portcode=TWKHH&YYYY1=2012&MM1=06&DD1=01&YYYY2=2012&MM2=07&DD2=01&interval=Y

  4. Selection=AllTables
  5. Formatting=All
  6. PreFormattedTextToColumns=True
  7. ConsecutiveDelimitersAsOne=True
  8. SingleBlockTextImport=False
  9. DisableDateRecognition=False
  10. DisableRedirections=False
½Æ»s¥N½X

TOP

³Ìªñ¦£¤F¤@¨Ç¨Æ,¨ì¤µ¤Ñ¦A¦^¨Ó,§A¥i¥H°Ñ¦Ò¬Ý¬Ý¥H¤Uªºcode,¬O¤£¬O§A­nªº
  1. Sub Ex()
  2.     Const StockIDURL As String = "http://public-cpd.mtnet.gov.tw/pub_newquery/query_national.asp?sel=3&id=16834268&sel01=2&portcode=TWKHH&YYYY1=2012&MM1=06&DD1=01&YYYY2=2012&MM2=07&DD2=01&interval=Y"
  3.     Dim xlSheet As Excel.Worksheet   
  4.     Set xlSheet = Sheets("Sheet1")   
  5.     With xlSheet.QueryTables.Add("URL;" & StockIDURL, xlSheet.Cells(1, 1))
  6.         .WebFormatting = xlWebFormattingNone
  7.         .WebTables = "1"
  8.         .Refresh 0
  9.         .Delete
  10.     End With   
  11.     Set xlSheet = Nothing
  12. End Sub
½Æ»s¥N½X

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2014-1-11 11:19 ½s¿è

¦^´_ 1# jewayy
iqy ÀÉ ªººô§}¦³°Ñ¼Æ ¶·¥[¤W ? ¥B¤£¥i¤À¨â¦æ
­×¥¿§Aªººô§}¦p¤U:  ÁÙ­n¥[¤W°Ñ¼Æ interval=Y  ·j´M¤é´Á½d³ò,¬°«ü©wªº°Ï¶¡, ¤£µM·|¤U¸ü«Ü¤[ªº!!
https://public-cpd.mtnet.gov.tw/p ... M2=07&DD1=01&DD2=01  
'http://public-cpd.mtnet.gov.tw/pub_newquery/query_national.asp?sel=3&id=16834268&sel01=2&portcode=TWKHH&interval=Y&YYYY1=2012&YYYY2=2012&MM1=06&MM2=07&DD1=01&DD2=01

¥Îªí³æ¤]¥i¬d¸ß
°ê»Ú¬d¸ß.rar (22.45 KB)

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

½Ð°Ý¦³¤H¥i¥HÀ°¦£¶Ü¡H¤p§Ì·P¿E¤£ºÉ¡I
Hi~

TOP

        ÀR«ä¦Û¦b : Ä@­n¤j¡B§Ó­n°í¡B®ð­n¬X¡B¤ß­n²Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD