Excel工作表批量重命名,以1,2,3,4,5,6直到100,怎么操作? 高手指教下啦

2024-11-08 14:43:19
推荐回答(1个)
回答1:

宏:
Sub re100()
n = 1
For Each ws In Worksheets
ws.Name = n
n = n + 1
if n=101 then goto fend
Next ws
fend:
End Sub