展开全部
Sub s()
Set d = CreateObject("scripting.dictionary")
x = Cells(Rows.Count, 3).End(3).Row
y = 3
k = 1
Do While k < 8
t = Cells(x, y)
If Not d.exists(t) Then
d.Add t, ""
Cells(5, 9 + k) = t
k = k + 1
End If
If y < 9 Then
y = y + 1
Else
x = x - 1
y = 7
End If
Loop
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询