- ©«¤l
- 97
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 158
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- taichung
- µù¥U®É¶¡
- 2010-9-12
- ³Ì«áµn¿ý
- 2019-8-29
|
¦^´_ 10# lionliu
³o¬O§Ú¬O°µªºµ{¦¡½X¡A¤£ª¾¬O§_¦³þ¦ì¤jÓ¥i¥H§i¶D§Ún¦p¦óקï- Sub inv()
- '
- Dim i, j, k, rcnt As Integer
- Dim myArray() As String
- rcnt = Sheets(1).Cells(Rows.Count, 3).End(xlUp).Row
- For i = 5 To rcnt
- myArray = Split(Sheets(1).Cells(i, 3), vbLf)
- 'j = i + 6
- For j = 0 To UBound(myArray)
- Sheets(2).Cells(i, 3).Value = myArray(j)
- Next j
- k = i + j
- Sheets(2).Cells(k, 1) = Sheets(1).Cells(i, 1)
- Sheets(2).Cells(k, 7) = Sheets(1).Cells(i, 7)
- Sheets(2).Cells(k, 8) = Sheets(1).Cells(i, 8)
- Next i
- End Sub
½Æ»s¥N½X |
|