¦p¦ó§âEXCELªºÀx¦s®æ½d³òA1:H3000¿é¥X¨ì°O¨Æ¥»Àɮתº D:\SP20110801.TXT
- ©«¤l
- 55
- ¥DÃD
- 20
- ºëµØ
- 0
- ¿n¤À
- 80
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- officexp
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2010-7-5
- ³Ì«áµn¿ý
- 2013-8-25
|
¦p¦ó§âEXCELªºÀx¦s®æ½d³òA1:H3000¿é¥X¨ì°O¨Æ¥»Àɮתº D:\SP20110801.TXT
¾Ç©f¤S¨Ó³Â·Ð¤j®a¤F
¥´¶} EXCEL Àɦ³¸Ô²Ó»¡©ú³á
½Ð«Óô/¬ü¤kª©¥D «Óô/¬ü¤k¾Çªø¸ò¾Ç©j
À°¦£¾Ç©f§¹¦¨
ÁÂÁ¤F |
-
-
grt.rar
(16.63 KB)
|
|
|
|
|
|
- ©«¤l
- 227
- ¥DÃD
- 3
- ºëµØ
- 1
- ¿n¤À
- 273
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-3-22
- ³Ì«áµn¿ý
- 2013-1-29
|
¦^´_ 1# metrostar
µ²ªG¤£ª¾¬O§_¥¿½T- Sub test()
- Open "d:\SP20110801.txt" For Output As #1
- For r = 1 To [A65536].End(xlUp).Row
- If r = 1 Then
- c = Cells(1, 11).Resize(, 7)
- mystr = Join(Application.Transpose(Application.Transpose(c)), ",")
- Else
- x = Cells(r, 1)
- If IsNumeric(x) Then
- x = [j1] & Application.Text(x, "0000")
- Else
- x = [j1] & x
- End If
- mystr = x & "," & "20110801" & "," & Cells(r, 3) & "," & Cells(r, 4) & "," & Cells(r, 5) & "," & Cells(r, 6) & "," & Cells(r, 8)
- End If
- Print #1, mystr
- Next
- Close #1
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 55
- ¥DÃD
- 20
- ºëµØ
- 0
- ¿n¤À
- 80
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- officexp
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2010-7-5
- ³Ì«áµn¿ý
- 2013-8-25
|
¥»©«³Ì«á¥Ñ metrostar ©ó 2011-8-3 13:33 ½s¿è
¦^´_ metrostar
µ²ªG¤£ª¾¬O§_¥¿½T
chin15 µoªí©ó 2011-8-3 08:15
¤Ó´Î¤F,¥i¥H¤F
¦hÁ³o¦ì«Óô¾Çªø
¾Ç©f«D±`·P°Ê©O
±z¯u¬O¤Ó±j¤Ó±j¤F
·PÁ±z¨Ã¯¬¶P±z
©¯ºÖ¦n¹B¥Ã»·°Á{±z¨¤W
¾Ç©f¥t¥~¤@°ÝÃD,¦pªG¤£¿é¥X EXPORT TO TXT , ¦Ó§âµ²ªG¿é¥X SHEET2©O , ¤Sn«ç»ò°µ©O?
½Ð¬Ý·sªþ¤WªºÀÉ®× |
-
-
Book3.rar
(8.73 KB)
|
|
|
|
|
|
- ©«¤l
- 227
- ¥DÃD
- 3
- ºëµØ
- 1
- ¿n¤À
- 273
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-3-22
- ³Ì«áµn¿ý
- 2013-1-29
|
¦^´_ 3# metrostar
¹ï¤£°_¡A§Ú¤£¬O«Óô¡A¾Çªø§ó¤£´±·í¡A¤~è°_¨B¾Ç²ß¡C- Sub test()
- With Sheet1
- For r = 1 To .[A65536].End(xlUp).Row
- If r = 1 Then
- mystr = Array("<TICKER>", "<DTYYYYSSDD>", "<OPEN>", "<HIGH>", "<LOW>", "<CLOSE>", "<VOL>")
- Else
- x = .Cells(r, 1)
- If IsNumeric(x) Then
- x = .[j1] & Application.Text(x, "0000")
- Else
- x = [j1] & x
- End If
- mystr = Array(x, "20110802", .Cells(r, 3), .Cells(r, 4), .Cells(r, 5), .Cells(r, 6), .Cells(r, 8))
- End If
- Sheet2.Cells(r, 1).Resize(, 7) = mystr
- Next
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 55
- ¥DÃD
- 20
- ºëµØ
- 0
- ¿n¤À
- 80
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- officexp
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2010-7-5
- ³Ì«áµn¿ý
- 2013-8-25
|
¥»©«³Ì«á¥Ñ metrostar ©ó 2011-8-3 14:44 ½s¿è
«Óô¾Çªø°µªk¬O¥¿½Tªº,·P®¦°Õ
¦³ÂIÂI¤p°ÝÃD,¤é´Án·í¤Ñªº¦~¤ë¤é¤é´Á
¹³¤µ¤Ñ¬O 20110803 , ¦pªG©ú¤Ñ¬O 20110804 |
|
|
|
|
|
|
- ©«¤l
- 227
- ¥DÃD
- 3
- ºëµØ
- 1
- ¿n¤À
- 273
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-3-22
- ³Ì«áµn¿ý
- 2013-1-29
|
mystr = Array(x, Application.Text(Date, "yyyymmdd"), .Cells(r, 3), .Cells(r, 4), .Cells(r, 5), .Cells(r, 6), .Cells(r, 8))
§ï³o¦æ |
|
|
|
|
|
|
- ©«¤l
- 55
- ¥DÃD
- 20
- ºëµØ
- 0
- ¿n¤À
- 80
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- officexp
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2010-7-5
- ³Ì«áµn¿ý
- 2013-8-25
|
¦^´_ 6# chin15
ÁÂÁ¼ӤWªº«Óô¾Çªø
¦P¼Ëªºµ{¦¡¬°¤°»ò¥Î¦b book4.xls ¸ò book3.xls ¬°¤°»ò·|³o¼Ë ?????
¯uªº¦n©_©Ç³á , ¤£ª¾ì¦]¥X¦b¨º¸Ì©O
«Óô¾Çªø´£¨Ñªºµ{¦¡¬°¤°»ò¦b³oÀɮפ£¯à¥Î©O?
¥Î¦b Book3.xls ¥i¥H, ¨Ï¥Î¦b³o Book4.xls ´N¤£¦æ |
-
-
Book4.rar
(20.26 KB)
|
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
§Aªºsheet1[j1]ªÅµL¤@ª«¡A·íµM¬OªÅ¥Õ¤F
ì¨Ó©ñ¦bsheet1[j1]ªºm©p§â¥L§ï¦¨©ñ¦bsheet2
¥N½X©p´N±o¸òµÛ§ï¤~·|¥¿½T°õ¦æ
If IsNumeric(x) Then
x = Sheet2.[j1] & Application.Text(x, "0000")
Else
x = Sheet2.[j1] & x
End If |
|
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
¦^´_ 4# chin15
«Øij¤Ï¦V«ä¦Ò¡A½Æ»sn¥Î¨ìªº´XÄæ¡AµM«á¦A§ï®æ¦¡·|¤ñ¦b¨C¤@¦æ¤¤´`Àô¨ú¼Æ«K±¶¨Ç¡C |
|
|
|
|
|
|
- ©«¤l
- 55
- ¥DÃD
- 20
- ºëµØ
- 0
- ¿n¤À
- 80
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- officexp
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2010-7-5
- ³Ì«áµn¿ý
- 2013-8-25
|
¦^´_ 9# oobird
¤Ó´Î¤F,¥i¥H¤F
¦hÁ³o¦ì«Óô¶W¯Åª©¥D
¾Ç©f«D±`·P°Ê©O
±z¯u¬O¤Ó±j¤Ó±j¤F
·PÁ±z¨Ã¯¬¶P±z
©¯ºÖ¦n¹B¥Ã»·°Á{±z¨¤W
¾Ç©f ÁÙ¦³¤p¤p°ÝÃD
¦pªG¹J¨ì I1Àx¦s®æªº MY ®É , J1Àx¦s®æ¬°ªÅ
·Qn A2:A65536 ªº¯Â¼Æ¦r¬°4¦ì¼Æ,¤£¨¬«e±¸É0
¨Ò¦p A2 Àx¦s®æ ¥Ø«e¬° 12,n 0012 ¤~¹ï «ç»ò°µ©O ? |
-
-
Book4.rar
(20.51 KB)
|
|
|
|
|
|