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

[µo°Ý] ÀɮפU¸ü°ÝÃD

¦^´_ 10# spermbank

Ãö©óµ{¦¡½X¥X¿ù
½ÐÀˬdWorkbooks("Àç·~¦¬¤JÅÜ°Ê.xls").Sheets("Revenue")    ¦¹¤u§@ªí¬O§_¦s¦b?(ª`·N¤u§@ï°ÆÀɦW¬O§_¥¿½T)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 11# Hsieh


    ÁÂÁ¤j¤j¡A§Ú¦A·Q·Q¡A½T¹ê¦³³o¤u§@ï¡A°ÆÀɦW§Ú¤]¨S§Ë¿ù¡C
    ·PÁ¤j¤j«ü±Ð^^

TOP

¥H¥«³õ¤Woffice¬Û®e³nÅé¡]Open Office¡ÄCalc ¡^¥´¶}Àɮ׫á¡A§Y¥i¬Ý¨ìµ{¦¡½X
¤]´N¬OMS Office Excel ±K½X¥\¯à¹ï¬Û®e³nÅé¡]Open Office¡^¬O¨S¦³¥Îªº
§Ú¹Á¸Õ¥´¶}   Àò§Q«ü¼Ð.xls ¬Ý¨ì¥¨¶°«ü¥O¦p¤U
Rem Attribute VBA_ModuleType=VBAModule
Sub Module1
Rem Sub §ó·s­ÓªÑ¸ê®Æ()
Rem     On Error Resume Next
Rem     Dim StockNum As String
Rem 0
Rem     StockNum = Application.InputBox("½Ð¿é¤J­ÓªÑ¥N¸¹")
Rem     If StockNum <> "" Then
Rem     If Asc(StockNum) >= 48 And Asc(StockNum) <= 57 Then GoTo 1 '§P©w¬°¼Æ¦r´N¶i¦æ
Rem     End If
Rem     If StockNum = "False" Then GoTo 2   '­Y¨ú®ø«h°h¥X
Rem     MsgBox ("½Ð¿é¤J­ÓªÑ¥N¸¹")
Rem     GoTo 0
Rem 1
Rem     Sheets("IS").Select
Rem     With Selection.QueryTable
Rem         .Connection = "URL;http://dj.mybank.com.tw/z/zc/zcq/zcqa/zcqa_" & StockNum & ".asp.htm"
Rem         .WebSelectionType = xlSpecifiedTables
Rem         .WebFormatting = xlWebFormattingNone
Rem         .WebTables = "3"
Rem         .WebPreFormattedTextToColumns = True
Rem         .WebConsecutiveDelimitersAsOne = True
Rem         .WebSingleBlockTextImport = False
Rem         .WebDisableDateRecognition = False
Rem         .WebDisableRedirections = False
Rem         .Refresh BackgroundQuery:=False
Rem     End With
Rem     Selection.QueryTable.Refresh BackgroundQuery:=False
Rem
Rem     Sheets("ISQ").Select
Rem     With Selection.QueryTable
Rem         .Connection = "URL;http://dj.mybank.com.tw/z/zc/zcq/zcq_" & StockNum & ".asp.htm"
Rem         .WebSelectionType = xlSpecifiedTables
Rem         .WebFormatting = xlWebFormattingNone
Rem         .WebTables = "3"
Rem         .WebPreFormattedTextToColumns = True
Rem         .WebConsecutiveDelimitersAsOne = True
Rem         .WebSingleBlockTextImport = False
Rem         .WebDisableDateRecognition = False
Rem         .WebDisableRedirections = False
Rem         .Refresh BackgroundQuery:=False
Rem     End With
Rem     Selection.QueryTable.Refresh BackgroundQuery:=False
Rem     
Rem     Sheets("«ü¼Ð¹Ïªí").Select
Rem 2
Rem End Sub
Rem
Rem
End Sub

TOP

½Ð°Ý
¥»®×»P  http://forum.twbts.com/thread-4906-1-1.html  ¬O§_
¦³¬Û¦P¤º®e¡A©Î³\¥i¨Ñ°Ñ¦Ò

TOP

¦^´_ 14# sp218882


    ¶â¶â¡AÁÂÁ§A^^

TOP

        ÀR«ä¦Û¦b : Ãø¦æ¯à¦æ¡AÃø±Ë¯à±Ë¡AÃø¬°¯à¬°¡A¤~¯àª@µØ¦Û§Úªº¤H®æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD