Private Sub CommandButton1_Click()
Dim xR As Range, xE As Range
For Each xR In [C5:C11]
If xR = "" Then GoTo 101
Set xE = [資料庫!A65536].End(xlUp)(2).Resize(1, 7)
xE = Array([C3], [E3], xR, xR(1, 2), xR(1, 3), xR(1, 5), xR(1, 6))
101: Next
End Sub作者: jsc0518 時間: 2019-2-15 20:04