Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

ordinary

[Excel-VBA] 여러 sheet 한꺼번에 이름바꾸기 본문

카테고리 없음

[Excel-VBA] 여러 sheet 한꺼번에 이름바꾸기

extra_ 2023. 2. 22. 12:09




Sub button1()
Dim i as integer
With [e5: e129]

For i=5 to Sheets.Count

    Sheets(i). Name = Left ( "(" & cells ( i-4 ) & ")" , 31 )
Next

End with

End sub


응용만 잘하면 여러기능에 유용하게 쓸수잇음