展开全部
Sub s()
ct = 6
r = 35
C = "j"
i = 6
With Sheets("问15结果")
Do While .Cells(i, C) <> ""
i = i + 1
Loop
For j = 1 To ct
If Sheets("问15").Cells(r - 2, j * 10 - 9).Interior.Color = vbYellow Then
.Cells(i, C) = Sheets("问15").Cells(r, j * 10 - 9)
i = i + 1
End If
Next
End With
End Sub
来自:求助得到的回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询