Sub 双边框()
Application.ScreenUpdating = False
For I = 2 To Cells(65536, 3).End(xlUp).Row + 1
If Cells(I, 3) <> Cells(I + 1, 3) And Cells(I + 1, 3) <> "" Then
Range("A" & I & ":E" & I).Borders(xlEdgeBottom).LineStyle = xlDouble '这个3要怎么改才会令到其该行的使用区域底部都加到双边框
End If
Next I
Application.ScreenUpdating = True
End Sub