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

¦¹ºô­¶¶×¤Jexcel, ¥¨¶°­n«ç»ò§ï??

¦¹ºô­¶¶×¤Jexcel, ¥¨¶°­n«ç»ò§ï??

WEB
1
http://stock.chinatimes.com/asp/hot/ShortOperate.asp?lcount=30&m=puplim&align=v

Selection=7,11  ===========>¤£¹ï!???
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False
--------------------------------------
With Sheets("º¦¶^°±")
                .Cells = ""
                .Cells(1, 1) = "º¦°±ÂꦺªÑ"
                For Each i In Array(7, 11)
                    If i = 24 Then .Cells(1, "J") = "¶^°±ÂꦺªÑ"
                    Y = 2
                    For R = 0 To xlVbTable(i).Rows.Length - 1
                        For C = 0 To xlVbTable(i).Rows(1).ALL.Length - 1
                            .Cells(Y, C + IIf(i = 5, 1, 10)) = xlVbTable(i).Rows(R).Cells(C).innerText
                            'IIf(i = 5, 1, 10) ->  1:="A", 10:="J"
                        Next
                        Y = Y + 1
                    Next
                    If i = 5 Then .Rows(13).Delete   '¶K¤W³sµ²ªºÀx¦s®æ¤´µM¬O#REF!->Àx¦s®æ³Q§R°£±¼
      
            End With

¥»©«³Ì«á¥Ñ t8899 ©ó 2013-12-6 15:19 ½s¿è

¸Õ¤F30¤À¤~¸Õ¥X¨Ó  :-(
With Sheets("º¦¶^°±")
                .Cells = ""
                .Cells(1, 1) = "º¦°±ÂꦺªÑ"
                For Each i In Array(6, 10)
                    If i = 10 Then .Cells(1, "J") = "¶^°±ÂꦺªÑ"
                    Y = 2
                    For R = 0 To xlVbTable(i).Rows.Length - 1
                        For C = 0 To xlVbTable(i).Rows(1).ALL.Length - 1
                            .Cells(Y, C + IIf(i = 6, 1, 10)) = xlVbTable(i).Rows(R).Cells(C).innerText
                            'IIf(i = 6, 1, 10) ->  1:="A", 10:="J"
                        Next
                        Y = Y + 1
                    Next
                    If i = 6 Then .Rows(13).Delete  
                    If i = 6 Then .Rows(24).Delete
                 
                Next
            End With

TOP

        ÀR«ä¦Û¦b : µÊ®ð¼L¤Ú¤£¦n¡A¤ß¦a¦A¦n¤]¤£¯àºâ¬O¦n¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD