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

[µo°Ý] ¦p¦ó¦b¤u§@ªí¤¤ª½±µ¶×¤J¤å¦rÀÉ

[µo°Ý] ¦p¦ó¦b¤u§@ªí¤¤ª½±µ¶×¤J¤å¦rÀÉ

¥»©«³Ì«á¥Ñ GBKEE ©ó 2011-7-27 19:33 ½s¿è

1.¦bB1¿é¤J¸ô®|
2.¥u­n¦bD9~58¤¤½ü¤JÀÉ®×ÀɮצWºÙ«á«öImport Data«ö¶s¡A¬ÝD9~D58¦³´X­ÓÀÉ®×´N·|¶}´X­Ó¤u§@ªí¨Ã¶×¤J¤å¦rÀÉ
¥H¤W§xÂZ¤p§Ì§Ú«Ü¤[¡AÀɮצpªþ¥ó

excel.rar (13.79 KB)
Simon

·PÁª©¤jªºÀ°¦£©M«Øij¡A§Ú¦Û¤v·|¥ý¦Û¦æ¸Õ¸Õ¬Ý¡A¦³°ÝÃD¦A½Ð±Ð¡AÁÂÁÂ
Simon

TOP

¦^´_ 10# morris0914
Ū¨ú4.log®É ¥i¥H¥þ³¡Åª¨úªº
§A8¼Ó Q:  ¥Îª©¤jµ¹ªºµ{¦¡¬O¦b¥þ¬O¼Æ¦r®Éok¡A¦ý«e´X¦C¦³¤å¦r®É´N·|¥X²{°ÝÃD
©Ò¥H¤Þ¥ÎÃþ¦ü  ¦³¯S©wÄ´¦p»¡ 20-30¦æ¤§¶¡ §A¦A¬Ý¬Ý

TOP

¦^´_ 9# GBKEE


    ªO¤j¡A¤£ª¾¬O¤£¬O¤U¨Òµ{¦¡³y¦¨Åª¨ú4.log®É¥u­«½ÆŪ¨ú²Ä¤@¦C¡A¦ÓµLªk±N4.log¥þ³¡¸ê®Æ¶×¤J¤u§@ªí¤¤
   Set FS = CreateObject("Scripting.FileSystemObject").GetFile(FilePath & Rng)
Simon

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2011-7-28 20:40 ½s¿è

¦^´_ 8# morris0914
¶×¤Jªº¤å¦rÀɪº¸ê®Æ¦³ªÅ®æ©Î¬O¦³³r¸¹ªº­n¦p¦ó¤À¶}
¦³ÂIÃþ¦ü ¦³¯S©wÄ´¦p»¡ 20-30¦æ¤§¶¡   ¦Û¦æ­×§ï¬Ý¬Ý
¦b¨C¤@¦æ¤¤
A = Split(Ar(i), " ")   '³o¬O¤À¹jªÅ®æ ªº°}¦C
A = Split(Ar(i), ",")   '³o¬O¤À¹j³r¸¹ ªº°}¦C
Cells(ii, 1).Resize(, UBound(A) + 1) = A

TOP

excel.rar (192.08 KB) ¦^´_ 7# ky2599y
ÁÙ¦³´X­Ó°ÝÃD½Ð±Ð¤@¤U
1.ªþ¥ó4.log¤Î5.log¦p¦ó¶×¤J¤u§@ªí¡A§Ú¨Ï¥Îª©¤jµ¹ªºµ{¦¡¬O¦b¥þ¬O¼Æ¦r®Éok¡A¦ý«e´X¦C¦³¤å¦r®É´N·|¥X²{°ÝÃD
2.¤å¦rÀɶפJ¤u§@ªí«á¦p¦ó¹J¨ì¸ê®Æ¦³ªÅ®æ©Î¬O¦³³r¸¹ªº­n¦p¦ó¤À¶}¡AÅý¨C­Ó¸ê®Æ©ñ¦b¤@­ÓÄæ¦ì¡A¨ÃÅýµ{¦¡§PÂ_¸ê®Æ¦³»Ý´XÄæ¸ê®Æ´N·|²£¥Í´XÄæArray©ñ¸m¸ê®Æ
Simon

TOP

§A±N­ì©l¸ê®Æ¼W¥[©Î´î¤Ö¸Õ¸Õ¬Ý¡AÀ³¸Ó·|¦Û°Ê§PÂ_ªº
Kenny

TOP

¦^´_ 5# ky2599y


·PÁ´£¿ô¡A§Ú¤w§ï¬°¥¨¶°¦p¤U:

        Range("A1:A255").Select
        Selection.TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _
        TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, _
        Semicolon:=False, Comma:=True, Space:=False, Other:=False, FieldInfo _
        :=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 1), Array(6, 1)), _
        TrailingMinusNumbers:=True


¦ý¦³­Ó°ÝÃD¬O¦p¦ó¸ê®Æ§PÂ_¡A¦Û°Ê¼W¥[Array
¥t¤@­Ó°ÝÃD¬O¦p¦óÅýµ{¦¡±Æ¦C¾ã»ô¡A¦p¤U:
TextQualifier=xlDoubleQuote
ConsecutiveDelimiter=False
Tab=True
Simon

TOP

¸ê®Æ¡÷¸ê®Æ­åªR¡÷¨ÌªÅ®æ©Î³r¸¹
§Y¥i±N¸ê®Æ¤Á¶}
ky2599y µoªí©ó 2011-7-28 13:47



    ­Y¶×¤J¸ê®Æ¤Ó¦h¡A´N§â¸ê®Æ­åªR¸ô¦¨¥¨¶°
Kenny

TOP

¸ê®Æ¡÷¸ê®Æ­åªR¡÷¨ÌªÅ®æ©Î³r¸¹
§Y¥i±N¸ê®Æ¤Á¶}
Kenny

TOP

        ÀR«ä¦Û¦b : ¡i¬O§_µo´§¤F¨}¯à¡H¡j¤H¶¡¹Ø©R¦]¬°µu¼È¡A¤~§óÅã±o¬Ã¶Q¡CÃø±o¨Ó¤@½ë¤H¶¡¡AÀ³°Ý¬O§_¬°¤H¶¡µo´§¤F¦Û¤vªº¨}¯à¡A¦Ó¤£­n¤@¨ý¨Dªø¹Ø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD