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

¦p¦ó¥ÎVB±N123(23) Ãþ¦ü¼Æ¦rÂনEXCEL ¨â­ÓÄæ¦ì

¦p¦ó¥ÎVB±N123(23) Ãþ¦ü¼Æ¦rÂনEXCEL ¨â­ÓÄæ¦ì

¦U¦ì¥ý¶i,
¤p§Ì¦b¾Çvb·Q±N¼Æ¦r¦p123(23)©Î34(111) Ãþ¦ü ¼Æ¦r©î¦¨ 123 23 ¨â­ÓÄæ¦ì©Î 34 111¨â­ÓÄæ¦ì,¨Ó°µ¼Æ¦r­Ó§O­pºâ,¤£ª¾¦³¦ó¤èªk
,½Ð·|ªº¥ý¶iÀ°¦£¦p¦ó¥Îµ{¦¡ªí¥Ü
ÁÂÁÂ
DREWCHEN1

¦^´_ 1# drewchen1
  1. Sub XX()

  2. i = 2
  3. Do While Cells(i, 1) <> ""
  4.   x = Application.Find("(", Cells(i, 1))
  5.   y = Application.Find(")", Cells(i, 1))
  6.   Cells(i, 2) = Mid(Cells(i, 1), 1, x - 1)
  7.   Cells(i, 3) = Mid(Cells(i, 1), x + 1, y - x - 1)
  8.   i = i + 1
  9. Loop

  10. End Sub
½Æ»s¥N½X

TOP

¦^´_ 1# drewchen1
  1. Option Explicit
  2. Sub Ex()
  3.     Dim i As Integer
  4.     i = 1
  5.     Range("A:A").Replace ")", ""
  6.     Do
  7.         Cells(i, "A").Resize(, 2) = Split(Cells(i, "A"), "(")
  8.         i = i + 1
  9.     Loop While Cells(i, "A") <> ""
  10. End Sub
½Æ»s¥N½X

TOP

ÁÂÁ¤j®a^^
DREWCHEN1

TOP

¦^´_  drewchen1
register313 µoªí©ó 2011-12-17 15:31



    ¸Õrun®É, ¬°¦óµ{¦¡»¡"Åܼƥ¼©w¸q"? ÁÂÁ¸ѵª.

TOP

¦^´_ 5# xmi
vba °T®§¤£¬O¦³»¡©ú¶Ü!!

  
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 6# GBKEE

¤£¦n·N«ä, ¥LÅã¥Ü"«Ü©êºp¡A¨S¦³°w¹ï¥H¤Uªºµ²ªG: "

TOP

        ÀR«ä¦Û¦b : ¤H¥Í¨S¦³©Ò¦³Åv¡A¥u¦³¥Í©Rªº¨Ï¥ÎÅv¡C
ªð¦^¦Cªí ¤W¤@¥DÃD