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

½Ð°Ý¦p¦ó³]©w¬ö¿ýÀÉ

½Ð°Ý¦p¦ó³]©w¬ö¿ýÀÉ

½Ð°Ý¥Ø«e¦³¤@­ÓEXCELÀÉ
¥DÀɬ°¿é¤J¤º®e
¦p¦ó¦Û°Ê¦s¨úÂà´«¦¨¬ö¿ýÀɪº®æ¦¡

¬ö¿ýÀÉ.rar (5.25 KB)

Tony

½Ð°Ý¦p¦ó¶i¦æ¸ê®ÆÂà´«©O
¥DÀÉsheetªº®æ¦¡Âà´«¦¨¬ö¿ýÀÉsheetªº®æ¦¡
ÁÂÁÂ
Tony

TOP

¦^´_ 2# tonycho33


    ½Ð°Ý¨â­Ósheetªº¸ê®ÆÂà´«¡A¦³¤H¥i¥H¨ó§U¤@¤U¶Ü
ÁÂÁÂ
Tony

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2011-12-15 17:31 ½s¿è

¦^´_ 3# tonycho33
  1. Option Explicit
  2. Sub Ex()
  3.     Dim R As Integer, R1 As Integer, Rng As Range
  4.     R = 2: R1 = 2
  5.     Sheets("¬ö¿ýÀÉ").UsedRange.Offset(1).Clear
  6.     Sheets("¥DÀÉ").Activate
  7.     Do
  8.         Set Rng = Sheets("¥DÀÉ").Range(Cells(R, "D"), Cells(R, "D").End(xlToRight)).Resize(3)
  9.         With Sheets("¬ö¿ýÀÉ")
  10.             .Cells(R1, "A") = Cells(R, "A")
  11.             .Cells(R1, "B") = Cells(R, "B")
  12.            R1 = R1 + 1
  13.             .Cells(R1, "C").Resize(Rng.Columns.Count, 3) = Application.Transpose(Rng)
  14.             .Cells(R1, "G").Resize(Rng.Columns.Count) = Cells(R, "C")
  15.             R1 = R1 + Rng.Columns.Count
  16.         End With
  17.         R = R + 3
  18.     Loop While Cells(R, "D") <> ""
  19. End Sub
½Æ»s¥N½X

TOP

½Ð°Ý¥i¥H¸ÑÄÀ¤@¤Uµ{¦¡ªº·N«ä¶Ü
Cells(R1, "A") ªº"A"¬O¥Nªí¤°»ò§t·N©O
ÁÂÁÂ
Tony

TOP

R1 ¬OÅܼƫüªº¬O"¦C¼Æ"
"A"À³¬O«üA³o­Ó"Äæ¦ì"
¨ÒR1=1  ¨ºCells(R1, "A") =Range("A1")
¥ç¥i¥ÎCells(R1, 1)ªí¥Ü
¨ÒR1=2  ¨ºCells(R1, "B") =Range("B2")
¥ç¥i¥ÎCells(R1, 2)ªí¥Ü

TOP

½Ð°Ý§A»¡ªºªÅ¥Õ³B¤£¯à¦³¦r¤¸
¦ý§Ú·|³sµ²¤½¦¡¡A³]©w±a¥X¨Ó¬O¡y""¡z
³o¼ËÂà¹L¥h«áÁÙ¬O·|¥X²{ªÅ¥Õ
¦³¿ìªk¸Ñ¨M³o­Ó°ÝÃD¶Ü
ÁÂÁÂ
Tony

TOP

¥»©«³Ì«á¥Ñ register313 ©ó 2011-12-16 22:20 ½s¿è

¦^´_ 7# tonycho33

²M°£¤£¥i¨£¦r¤¸

¤èªk1:¦bEXCEL¤º¿ï¨úÀx¦s®æ ½Æ»s , ¤Á´«¨ìWORD  ¶K¤W  
         ¦bWORD¤º¿ï¨úÀx¦s®æ ½Æ»s , ¤Á´«¨ìEXCEL  ¶K¤W
¤èªk2:§Q¥ÎVBA RTRIM»PLTRIM  ±N¨C­ÓÀx¦s®æ¤ºªº¤£¥i¨£¦r¤¸²M°£

TOP

¤èªk2:§Q¥ÎVBA RTRIM»PLTRIM  ±N¨C­ÓÀx¦s®æ¤ºªº¤£¥i¨£¦r¤¸²M°£

½Ð°Ý«ü¥O­n¦p¦ó¤U©O
ÁÂÁÂ
Tony

TOP

¦^´_ 9# tonycho33


For Each a In UsedRange
    a.Value = Trim(a)
Next
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¯à¥I¥X·R¤ß´N¬OºÖ¡A¯à®ø°£·Ð´o´N¬O¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD