展开全部
Sub xx()
Do
For i = 11 To 47 Step 12
For j = 2 To 7
If Cells(j, i) <> "" Then Cells(j, i).Resize(1, 10).ClearContents: Exit Do
Next
Next
Loop Until True
If j >= 7 Then
j = 2
If i >= 47 Then
i = 11
Else
i = i + 12
End If
Else
j = j + 1
End If
arr = [a14:a23]
Cells(j, i).Resize(1, 10) = Application.Transpose(arr)
End Sub
更多追问追答
追问
A列最后10单元
每提取一次完成后,再提取结果到下一位置
追答
Sub xx()
Do
For i = 11 To 47 Step 12
For j = 2 To 7
If Cells(j, i) <> "" Then Cells(j, i).Resize(1, 10).ClearContents: Exit Do
Next
Next
Loop Until True
If j >= 7 Then
j = 2
If i >= 47 Then
i = 11
Else
i = i + 12
End If
Else
j = j + 1
End If
arr = Cells(4 ^ 8, 1).End(3).Offset(-9).Resize(10)
Cells(j, i).Resize(1, 10) = Application.Transpose(arr)
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询