- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 152
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-7-3
![2023¦~¥þ¶Ô¼ú³¹ 2023¦~¥þ¶Ô¼ú³¹](images/common/2023.png) ![2022ªê¦~¥þ¶Ô¼ú³¹ 2022ªê¦~¥þ¶Ô¼ú³¹](images/common/hu.gif) ![2021¤û¦~¥þ¶Ô¼ú³¹ 2021¤û¦~¥þ¶Ô¼ú³¹](images/common/niu.gif) ![2020¹«¦~¥þ¶Ô¼ú³¹ 2020¹«¦~¥þ¶Ô¼ú³¹](images/common/shu.gif) ![2019 ½Þ¦~¥þ¶Ô¼ú³¹ 2019 ½Þ¦~¥þ¶Ô¼ú³¹](images/common/zhu.gif) ![2018 ª¯¦~¥þ¶Ô¼ú³¹ 2018 ª¯¦~¥þ¶Ô¼ú³¹](images/common/gou.gif) ![2017 Âû¦~¥þ¶Ô¼ú³¹ 2017 Âû¦~¥þ¶Ô¼ú³¹](images/common/ji.gif) ![2016µU¦~¥þ¶Ô¼ú³¹ 2016µU¦~¥þ¶Ô¼ú³¹](images/common/hou.gif) ![2015¦Ï¦~¥þ¶Ô¼ú³¹ 2015¦Ï¦~¥þ¶Ô¼ú³¹](images/common/yang.gif) ![2014°¨¦~¥þ¶Ô¼ú³¹ 2014°¨¦~¥þ¶Ô¼ú³¹](images/common/ma.gif) ![2013³D¦~¥þ¶Ô¼ú³¹ 2013³D¦~¥þ¶Ô¼ú³¹](images/common/she.gif) ![2012Às¦~¥þ¶Ô¼ú³¹ 2012Às¦~¥þ¶Ô¼ú³¹](images/common/long.gif) ![½×¾Â°^Äm¾±³¹ ½×¾Â°^Äm¾±³¹](images/common/medal5.gif) ![¼ö¤ß¤½¯q¾±³¹ ¼ö¤ß¤½¯q¾±³¹](images/common/medal15.gif) ![2011¨ß¦~¥þ¶Ô¼ú³¹ 2011¨ß¦~¥þ¶Ô¼ú³¹](images/common/tu.gif)
|
¦^´_ 1# leoman0002 - Sub ex()
- Dim arr()
- Dim Filename As Variant
- Dim i As Integer
- fs = Application.GetOpenFilename("¶È¯à¶×¤Jcsv®æ¦¡,*.csv", , "Çë½T©w", , True) '§ï¦¨½Æ¿ïÀÉ®×
- For Each f In fs '¨CÓÀÉ®×°j°é
- p = Range("G65536").End(xlUp).Row + 1
- With CreateObject("Microsoft.XMLHTTP")
- .Open "GET", f, False
- .Send
- tt = .responsetext
- ss = Split(tt, vbCrLf)
- End With
- ReDim arr(0 To UBound(ss), 0 To 15)
- For i = 0 To UBound(ss)
- s1 = Split(ss(i), ",")
- For j = 0 To UBound(s1)
- arr(i, j) = s1(j)
- Next j
- Next i
- Cells(p, "a") = Replace(arr(5, 1), "'", "")
- Cells(p, "b") = Replace(Split(Cells(p, "a"), "-")(0), Mid(Split(Cells(p, "a"), "-")(0), 3, 5), "")
- Cells(p, "c") = Split(Cells(p, "a"), "-")(1)
- Cells(p, "G") = arr(3, 3)
- If arr(11, 7) = "Bef" Then
- Cells(p, "H") = "[Before]"
- Else
- Cells(p, "H") = "[After]"
- End If
- Cells(p, "I") = arr(11, 5)
- Cells(p, "J") = arr(11, 5)
- Cells(p, "K") = arr(20, 5)
- Cells(p, "R") = arr(21, 5)
- Cells(p, "S") = arr(22, 5)
- Cells(p, "T") = arr(23, 5)
- k = 20
- For i = 26 To 33
- For j = 1 To 3
- k = k + 1
- Cells(p, k) = arr(i, (j - 1) * 2 + 1)
- Next j
- Next i
- Next f
- End Sub
½Æ»s¥N½X |
|