Excel ¦p¦ó¦bI´º§¹¦¨¼Æ¾Ú¾É¤J
| ©«¤l4 ¥DÃD2 ºëµØ0 ¿n¤À6 ÂI¦W0  §@·~¨t²ÎMac ³nÅ骩¥»10.6 ¾\ŪÅv10 ©Ê§O¨k µù¥U®É¶¡2012-1-16 ³Ì«áµn¿ý2015-7-9 
 | 
 Excel ¦p¦ó¦bI´º§¹¦¨¼Æ¾Ú¾É¤J
| ·í§Ú°õ¦æ¦¨¥\¾É¤J¥~³¡¼Æ¾Ú¡Aexcel ³£·|³QIJµo¡]excel app icon·|¶À¦â¤£°±°{Ã{¡^¡AµM«á´Nn¨C¦¸¤â°ÊÂI·Æ¹«¥h§â¥¦«ö±¼¡C ¦pªG¬O¨C¤ÀÄÁ¾É¤J¤@¦¸¡A´Nn¨C¤ÀÄÁ³£«ö¤@¦¸·Æ¹«... ¤£ª¾¦³¿ìªkÅýexcel¦bI´º°ÊºA¾É¤J¡A¤S¤£·|IJµoicon¤£°±°{Ã{©O¡H
 
 
 Sub hkdata()
 
 ¤u§@ªí1.Cells.Clear
 
 
 '
 With ActiveSheet.QueryTables.Add(Connection:= _
 "URL;https://hk.finance.yahoo.com/q?s=^hsi", Destination:=Range("$A$1"))
 .Name = "q?s=^hsi"
 .FieldNames = True
 .RowNumbers = False
 .FillAdjacentFormulas = False
 .PreserveFormatting = True
 .RefreshOnFileOpen = False
 .BackgroundQuery = True
 .RefreshStyle = xlInsertDeleteCells
 .SavePassword = False
 .SaveData = True
 .AdjustColumnWidth = True
 .RefreshPeriod = 0
 .WebSelectionType = xlEntirePage
 .WebFormatting = xlWebFormattingNone
 .WebPreFormattedTextToColumns = True
 .WebConsecutiveDelimitersAsOne = True
 .WebSingleBlockTextImport = False
 .WebDisableDateRecognition = False
 .WebDisableRedirections = False
 .Refresh BackgroundQuery:=False
 End With
 End Sub
 | 
 
excel.png
(19.7 KB)
 
 
  | 
|  | 
|  |  | 
|  |  | 
| 
¡@¼ÊºÙ: ÀH·ÄÆ¿ºªº¦Ð¤ò             ¡@ÀY»Î:  [±s¥Î]¼ç¤ô¸¥ °ª¤¤¥Í  ©«¤l852 ¥DÃD79 ºëµØ0 ¿n¤À918 ÂI¦W0  §@·~¨t²ÎWindows 7 , XP ³nÅ骩¥»Office 2007, Office 2003,Office 2010,YoZo Office ¾\ŪÅv50 ©Ê§O¨k ¨Ó¦Û¦t©z µù¥U®É¶¡2011-4-8 ³Ì«áµn¿ý2024-2-21 
 | 
                
| ·í§Ú°õ¦æ¦¨¥\¾É¤J¥~³¡¼Æ¾Ú¡Aexcel ³£·|³QIJµo¡]excel app icon·|¶À¦â¤£°±°{Ã{¡^¡AµM«á´Nn¨C¦¸¤â°ÊÂI·Æ¹«¥h ...sfff µoªí©ó 2015-6-28 12:29
 
 §â  Application.DisplayAlerts = False ' Ãö³¬Äµ§i°T®§  ©ñ¦b    ¤u§@ªí1.Cells.Clear «e±
 | 
 | 
| ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~
 
 ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
 ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
 ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk
 
 ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM
 | 
|  |  | 
|  |  | 
| ©«¤l4 ¥DÃD2 ºëµØ0 ¿n¤À6 ÂI¦W0  §@·~¨t²ÎMac ³nÅ骩¥»10.6 ¾\ŪÅv10 ©Ê§O¨k µù¥U®É¶¡2012-1-16 ³Ì«áµn¿ý2015-7-9 
 | 
                
| ¥»©«³Ì«á¥Ñ sfff ©ó 2015-6-29 03:46 ½s¿è 
 ªGµM°£¤F¥´¶}¤å¥óªºº¦¸¾É¤J¦³Äµ§i¡A¤§«á´NµLIJµoĵ§i°T®§¤F¡I
 :victory:  Thanks
 | 
 | 
|  | 
|  |  | 
|  |  |