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

¼ÐÅүȦC¦L°ÝÃD

¼ÐÅүȦC¦L°ÝÃD

¸Ô²Ó»¡©ú¦pªþ¥ó¡A«ÜÁÂÁ¤j®aªºÀ°¦£![attach]1610[/attach]

¤H­û¸ê®Æ.zip (11.68 KB)

¦^´_ 1# child
  1. Sub Ex()
  2.     Dim i&, R As Range, Y%
  3.     i = 2: Y = 1
  4.     With Sheet2
  5.         Do While .Cells(i, "b") <> ""
  6.            Set R = .Cells(i, "b")
  7.             With Sheet1.Cells(i - 1, Y)
  8.                 .Value = R & Chr(10) & R(1, 2) & R(1, 3) & R(1, 4) & Chr(10) & Chr(10) & R(1, 5) & Space(20) & R(1, 6) & "¦¬" & Chr(10)
  9.                 .ColumnWidth = 33
  10.                 .Borders.LineStyle = xlContinuous
  11.                 .HorizontalAlignment = xlLeft
  12.                 .VerticalAlignment = xlCenter
  13.                 .IndentLevel = 1
  14.              End With
  15.             If Y = 3 Then
  16.              Y = 1: i = i + 1
  17.             Else
  18.                 Y = Y + 1
  19.             End If
  20.         Loop
  21.     End With
  22.     Sheet1.PrintOut
  23. End Sub
½Æ»s¥N½X

TOP

ÁÂÁÂGBKEE ª©¥DªºÀ°¦£¡A·P¿E¤£ºÉ^^

TOP

        ÀR«ä¦Û¦b : ¦¨¥\¬OÀuÂIªºµo´§¡A¥¢±Ñ¬O¯ÊÂIªº²Ö¿n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD