Sub 填数据() '
With Sheets("Sheet2")
For i = 1 To [a65536].End(3).Row
If Cells(i, 1) = "姓 名" Then
n = n + 1
Cells(i, 2) = .Cells(n + 1, 2)
'Cells(i + 1, 4) = .Cells(n + 1, 3) '....... 工作时间
'.......把sheet2的相关内容填到当前表中
'...............
i = i + 20 '尽量靠近下一表的起始位置
End If
Next
End With
End Sub