그냥 특정 워크시트를 활성화하십시오 합니다. I have a 문자열 변수를 워크시트의 이름을 유지할 수 있습니다.
다음 아니하였으매 매크로 도와줄까?
Sub activateSheet(sheetname As String)
'activates sheet of specific name
Worksheets(sheetname).Activate
End Sub
기본적으로 그라치아바테 기능을 사용할 수 있도록 할 수 있습니다. 또는 지젤치 같은 기능을 사용할 수 있습니다.
Sub activateSheet(sheetname As String)
'selects sheet of specific name
Sheets(sheetname).Select
End Sub
for i=1 to thisworkbook.sheets.count
sheets(i).activate
'You can add more code
with activesheet
'Code...
end with
next i
또한, 성능 향상.