- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 9# tajen
´£¨Ñ°Ñ¦Ò¡G (¤£ª¾¬O§_§k¦X§Aªº»Ý¨D¡H)- Sub ³Ì¨Î¤ÀÉ()
- Dim Sh As Worksheet
-
- Set Sh = Sheets("¤u§@ªí3") ' ¥i«ü©w¤u§@ªí
-
- With Sh
- .Cells.Clear
- .Select
-
- With .QueryTables.Add(Connection:= _
- "URL;http://traderoom.cnyes.com/tse/quote2FB.aspx?code=6121", Destination:= _
- .Range("F1"))
- .WebFormatting = xlWebFormattingNone
- .WebTables = "7"
- .Refresh BackgroundQuery:=False
- End With
-
- With .QueryTables.Add(Connection:= _
- "URL;http://traderoom.cnyes.com/tse/quote2FB.aspx?code=6121", Destination:= _
- .Range("A1"))
- .WebFormatting = xlWebFormattingNone
- .WebTables = "8,10,11" ' ºô¶ªºªí®æ¡A§ó§ï WebTables ´N¦æ¤F
- ' .WebTables = "7,8,10,11"
- ' .WebTables = "6,8,10,11"
- .Refresh BackgroundQuery:=False
- End With
-
- With .QueryTables.Add(Connection:= _
- "URL;http://traderoom.cnyes.com/tse/quote2FB.aspx?code=6121", Destination:= _
- .Range("I1"))
- .WebFormatting = xlWebFormattingNone
- .WebTables = "6"
- .Refresh BackgroundQuery:=False
- End With
-
- .Range("A:N").EntireColumn.AutoFit
- End With
- End Sub
½Æ»s¥N½X |
|