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

´M§ä¯S©w¦r¤¸,¨Ã±N¤§«áªº¦r¤¸§ï¬°¤j¼g

¦^´_ 14# Hsieh


    dear Hsieh  

    sorry.  

    »Ý¨D»¡ªº¤£¬O«Ü²M·¡.. ªþ¤Wªþ¥ó.


¡@¡@¡@¦A³Â·Ð±z¤F¡C¡C¡C¡@

­ìDATA.rar (1.86 KB)

data ¿ù»~Âà´« (2).rar (7.26 KB)

hi...

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2011-2-14 10:22 ½s¿è

¦^´_ 13# txiec
  1. Sub nn()
  2. mystr = "©m¦W: a,b,C,D " '­ì¦r¦ê
  3. replacestr = "©m¦W: " '·j´M¦r¦ê(¤£Âà¤j¼g)
  4. k = InStr(mystr, replacestr) + Len(replacestr)
  5. temp = Mid(mystr, k) '±ýÂন¤j¼g¦r¦ê
  6. MsgBox Replace(mystr, temp, UCase(temp))
  7. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 11# Hsieh


    DEAR Hsieh

    ¤è«Kªº¸Ü, µ¹­Ó½d¨Ò... ¦],¤£¬O«ÜÀ´ªºVB...
hi...

TOP

¦^´_ 10# kimbal


DEAR

¤£¦n·N·N.
¦A¸ÑÄÀ¤@¤U,

¬O,­n§ä,¯S©w¦r¥Ó,¨Ã±N¦¹¦r¥Ó¤§«á¤§©Ò¦³¦r¤¸§ï¦¨¤j¼g.
EX:
©m¦W: a,b,C,D

-->

©m¦W: A.B,C,D  

¨ä¤¤:©m¦W: ¦^©w..
¤§«á­^¤å¬O·|¦³¤£¦P, ,
¥u­n±N¦r¤¸§ï¦¨¤j¼g.§Y¥i.
hi...

TOP

¦r¦ê¤¤·j´M¯S©w¦r¤¸¦ì¸m¥i¨Ï¥Îinstr§ä¨ì¦ì¸m
¥ÎmidÀò±o»PÂà¼gªº¦r¦ê
¦A¨Ï¥ÎUcaseÂন¤j¼g
³Ì«á¨Ï¥Îreplace¨ú¥N
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

§Aªº·N«ä¬O....:

­ì¤å¬Oabcde
1.§äcd
´«¦¨ZX
->
abZXe

ÁÙ¬O....
2.
§äcd
´«¦¨zx
->
abzxE

ÁÙ¬O....
3.
§äcd
´«¦¨zx
->
CDZXE

¦pªG§A´£¨Ñªº¥N½X¨S¿ù
1ªº°µªk:
mystr = Replace(TEXTLINE, [a5], UPPER([b5]))
3ªº°µªk:
mystr = UPPER(Replace(TEXTLINE, [a5], [b5]))
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

DEAR . ¥ý¶i,,


½Ð¦A¼·ªÅ,µ¹­Ó²³æ¥i¥Î¤§¥¨¶°µ{¦¡,,,,


¸U¤À·PÁÂ...


¯¬¤ß¶¶,,
hi...

TOP

DEAR Hsieh ¥ý¥Í


¤£¦n·N«ä.. ¶]¤£°Ê, ¥X²{:§ä¤£¨ìÀÉ®×.. :  

¤£ª¾,½Ð¦AÀ°¦£­×¤@¤U,

1. ¦p¨Ó·½¸ê®Æ§¨,­n³]¦bEXCEL A2Äæ¦ì¤¤,À³¦p¦ó­×.
2. ¦p¨Ó·½ÀÉ®×,µLªþÀɦW. ¨º¥Î fd = "temp.txt" '¼È¦sÀɹw³]¥Ø¿ý§Úªº¤å¥ó,¦^¦s©ó®É,·|¼vÅTÀɦW,  
3. ¥u»Ý¨DÀˬd¤Î§ï¤º®e¤¤¤§¯S§O¦WºÙ¤§«á¤§¦r¤¸.
EX:

A¸ê®Æ§¨¤¤¤§
12 Àɮפ¤¤§

Ad(2): aer2,AER3,     
We1 Rf   : aer2
We2 Rf   : AER3     

Âন:

AD(2): AER2,AER3,   
We1 Rf   : AER2
We2 Rf   : AER3     



13 Àɮפ¤¤§

Ad(3): aers4,aes5,AERS6   
We1 Rf   : aers4
We2 Rf   : aes5     
We3 Rf   : AERS6      


Âন:

Ad(3): AERS4,AES5,AERS6   
We1 Rf   : AERS4
We2 Rf   : AES5     
We3 Rf   : AERS6      








¥H¤W,¦A³Â·Ð¤F,,.

hi...
hi...

TOP

DEAR DEAR Hsieh ¥ý¥Í


¤£¦n·N«ä.. ¶]¤£°Ê, ¥X²{:§ä¤£¨ìÀÉ®×.. :  

¤£ª¾,½Ð¦AÀ°¦£­×¤@¤U,

¥t½Ð±Ð,
1. ¦p¨Ó·½¸ê®Æ§¨,­n³]¦bEXCEL A2Äæ¦ì¤¤,À³¦p¦ó­×.
2. ¦p¨Ó·½ÀÉ®×,µLªþÀɦW. ¨º¥Î fd = "temp.txt" '¼È¦sÀɹw³]¥Ø¿ý§Úªº¤å¥ó,¦^¦s©ó®É,·|¼vÅTÀɦW,

¥H¤W,¦A³Â·Ð¤F,,.
hi...

TOP

¦^´_ 4# txiec
  1. Sub nn()
  2. fs = Dir("D:\A\*.txt") 'TXTÀɮצì¸m
  3. Do Until fs = ""
  4. fd = "temp.txt" '¼È¦sÀɹw³]¥Ø¿ý§Úªº¤å¥ó
  5. Open fs For Input As #1
  6. Open fd For Output As #2
  7. Do While Not EOF(1)
  8.     Line Input #1, TextLine
  9.     Print #2, UCase(TextLine)
  10. Loop
  11. Close #1
  12. Close #2
  13. Open fd For Input As #1
  14. Open fs For Output As #2
  15. Do While Not EOF(1)
  16. Line Input #1, TextLine
  17.     Print #2, UCase(TextLine)
  18. Loop
  19. Close #1
  20. Kill fd
  21. Close #2
  22. fs = Dir
  23. Loop
  24. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : °µ¦n¨Æ¤£¯à¤Ö§Ú¤@¤H¡A°µÃa¨Æ¤£¯à¦h§Ú¤@¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD