메인 컨텐츠로 가기

통합 문서에서 모든 워크 시트 이름 목록을 만드는 방법은 무엇입니까?

여러 워크 시트가있는 통합 문서가 있고 현재 통합 문서의 모든 시트 이름을 나열하려는 경우 Excel에서 시트 이름을 하나씩 입력하지 않고 빠르게 만드는 방법이 있습니까? 이 자습서에서는 Excel에서 워크 시트 이름을 나열하는 방법에 대한 지침을 제공합니다.

수식을 사용하여 통합 문서의 모든 워크 시트 이름 목록을 동적으로 가져옵니다.

유용한 기능이있는 통합 문서에서 모든 워크 시트 이름 목록 가져 오기

VBA 코드를 사용하여 통합 문서에서 모든 워크 시트 이름 목록 가져 오기


수식을 사용하여 통합 문서의 모든 워크 시트 이름 목록을 동적으로 가져옵니다.

Excel에서 범위 이름을 정의한 다음 수식을 적용하여 현재 통합 문서의 모든 시트 이름을 나열 할 수 있습니다. 다음 단계를 수행하십시오.

1. 클릭으로 이동 공식 > 이름 관리자, 스크린 샷 참조 :

2. 에서 이름 관리자 대화 상자에서 신제품 버튼, 스크린 샷 참조 :

3. 튀어 나온 새 이름 대화 상자에 이름을 지정하십시오. 성함 텍스트 상자를 클릭 한 다음 아래 수식을 을 참고하여 텍스트 상자, 스크린 샷 참조 :

=GET.WORKBOOK(1)&T(NOW())

4. 그런 다음 OK > 닫기 대화 상자를 닫으려면 이제 모든 시트 이름을 나열 할 시트로 이동 한 다음 빈 셀에 다음 수식을 입력하십시오.

=IFERROR(INDEX(MID(Sheetnames,FIND("]",Sheetnames)+1,255),ROWS($A$2:A2)),"")

주의 사항: 위의 공식에서 시트 이름 3 단계에서 만든 범위 이름입니다.

5. 그런 다음 빈 셀이 표시되면 채우기 핸들을 셀로 드래그하면 현재 통합 문서의 모든 시트 이름이 아래 스크린 샷과 같이 나열됩니다.

6. 각 시트에 대한 하이퍼 링크를 만들려면 아래 공식을 사용하십시오.

=HYPERLINK("#'"&A2&"'!A1","Go To Sheet")

주의 사항: 위의 공식에서 A2 시트 이름이 포함 된 셀입니다. A1 활성 셀을 배치 할 셀입니다. 예를 들어 하이퍼 링크 텍스트를 클릭하면 시트의 A1 셀을 찾습니다.

7. 이제 하이퍼 링크 텍스트를 클릭하면 해당 시트로 이동합니다. 아래 데모를 참조하십시오.

방문 꿀팁:
  • 1. 위의 수식을 사용하면 생성 된 시트 이름이 동적으로 나열되며 통합 문서에서 시트 이름을 변경하면 인덱스 시트 이름이 자동으로 업데이트됩니다.
  • 2. 파일을 다음과 같이 저장해야합니다. Excel 매크로 사용 통합 문서 파일을 닫았다가 다시 연 후에도 수식이 제대로 작동하도록하려면 형식을 지정합니다.

유용한 기능이있는 통합 문서에서 모든 워크 시트 이름 목록 가져 오기

와 더불어 시트 이름 목록 만들기 타사 추가 기능의 유틸리티 Excel 용 Kutools, 한 번의 클릭으로 워크 시트 이름 목록을 만들고 하이퍼 링크를 사용하여 각 워크 시트에 연결할 수 있습니다.

참고 :이것을 적용하려면 시트 이름 목록 만들기, 먼저 Excel 용 Kutools을 클릭 한 다음 기능을 빠르고 쉽게 적용하십시오.

설치 후 Excel 용 Kutools, 다음과 같이하십시오.

1. 쿠툴즈 플러스 > 워크 시트 > 시트 이름 목록 만들기, 스크린 샷 참조 :

2. 에서 시트 이름 목록 만들기 대화 상자에서 다음 설정을 지정하십시오.

(1.) 선택 시트 색인 스타일 원하는 경우 하이퍼 링크 또는 매크로 단추를 사용하여 워크 시트 이름을 만들 수 있습니다.

(2.) 시트 인덱스의 워크 시트 이름을 입력합니다.

(3.) 워크 시트 색인의 위치를 ​​지정합니다.

(4.) 워크 시트 이름을 표시하기 위해 새 워크 시트에서 사용할 열의 양을 지정하십시오.

3. 설정을 마친 후 OK. 모든 워크 시트 이름이 현재 통합 문서의 새 워크 시트에 링크와 함께 나열되었습니다. 스크린 샷보기 :

하이퍼 링크가있는 워크 시트 이름 매크로 단추가있는 워크 시트 이름
: 이 기능을 사용하려면 다음을 설치해야 합니다. Excel 용 Kutools 먼저, 제발 클릭하여 다운로드하고 30일 무료 평가판 사용 지금.

VBA 코드를 사용하여 통합 문서에서 모든 워크 시트 이름 목록 가져 오기

1. 누르고 ALT + F11 키가 열립니다. 응용 프로그램 용 Microsoft Visual Basic 창.

2. 딸깍 하는 소리 끼워 넣다 > 모듈을 클릭하고 다음 매크로를 모듈 창문.

VBA : 새 워크 시트에 하이퍼 링크가있는 모든 워크 시트 이름 나열 :

Sub CreateIndex()
'updateby Extendoffice
    Dim xAlerts As Boolean
    Dim I  As Long
    Dim xShtIndex As Worksheet
    Dim xSht As Variant
    xAlerts = Application.DisplayAlerts
    Application.DisplayAlerts = False
    On Error Resume Next
    Sheets("Index").Delete
    On Error GoTo 0
    Set xShtIndex = Sheets.Add(Sheets(1))
    xShtIndex.Name = "Index"
    I = 1
    Cells(1, 1).Value = "INDEX"
    For Each xSht In ThisWorkbook.Sheets
        If xSht.Name <> "Index" Then
            I = I + 1
            xShtIndex.Hyperlinks.Add Cells(I, 1), "", "'" & xSht.Name & "'!A1", , xSht.Name
        End If
    Next
    Application.DisplayAlerts = xAlerts
End Sub

3. 눌러 F5 이 매크로를 실행하는 키입니다. 이제 활성 통합 문서의 모든 워크시트 이름이 Index라는 새 워크시트에 나열되었으며 시트 이름은 각 시트에도 연결됩니다. 스크린샷을 참조하세요.

Comments (19)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
First, thanks to the author. And adding the Czech version.

tp 3. =O.KNIZE(1)&T(NYNÍ())
tp 4. =IFERROR(INDEX(ČÁST(nazvylistu;NAJÍT("]";nazvylistu)+1;255);ŘÁDKY($A$2:A4));"")
This comment was minimized by the moderator on the site
Hello,

je viens de tester la méthode via macros (dynamique avec formules) et ça marche au poil donc je tiens vraiment à remercier l'auteur de cet article parce que ça va vraiment m'aider dans mon travail ! Juste, je me permet de corriger les formules pour la version française. Et alors je ne sais pas si c'est parce que je suis sous la version 2019 mais Excel rouspète quand il n'y a pas d'argument en 3ème position de la fonction STXT ("MID" en version anglaise) donc obligé d'en rajouter un. Donc voilà ce que ça donne :

=LIRE.CLASSEUR(1)&T(MAINTENANT())

=SIERREUR(INDEX(STXT(nomsFeuilles;TROUVE("]";nomsFeuilles)+1,255;20);LIGNES($A$2:A2));"")

Bon travail à tous ! ;-)
This comment was minimized by the moderator on the site
Hello, Gizmil
Thank you for your comment, there are some functions are only available for English in Excel.
Your formula may help others.
Thanks again!
This comment was minimized by the moderator on the site
I close and open my document and all values in my sheet names column are all gone and blank but still the formula is there. I tried entering the same formula but it doesn't show the value anymore
This comment was minimized by the moderator on the site
Hello, Anne,
Sorrry for replying late, after creating the range names and formulas, you should save the workbook as Excel Macro-Enabled Workbook format, so next time, when you open the Excel file,the formulas can work well.
Please try, hope it can help you!
This comment was minimized by the moderator on the site
I tried this one and it works. But when I close and open the file again all the values in my sheet names are blank and gone but the formula is still there. I tried enteing the same formula again but it doesn't show the value anymore
This comment was minimized by the moderator on the site
BRILLIANT!! Thank you so much! 😊
This comment was minimized by the moderator on the site
Causes problems when document protection is enabled by email or corporate policy
This comment was minimized by the moderator on the site
Thanks so much, this worked great.
This comment was minimized by the moderator on the site
Works great!! Thank you!!!!
This comment was minimized by the moderator on the site
sooooo helpful, works as expected!!!!! Thanks
This comment was minimized by the moderator on the site
THANK YOU SO MUCH! I freaking love your website. In a matter of minutes I've had a ton of time saved with two sections of this site including this one. Love it!
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations