메인 컨텐츠로 가기

Excel에서 여러 전자 메일 주소를 하이퍼 링크로 변환하는 방법은 무엇입니까? 

워크 시트에 일반 텍스트 전자 메일 주소 목록이 있고 이제 이러한 전자 메일 주소를 주소를 클릭하는 동안 전자 메일을 보낼 수있는 하이퍼 링크로 변환하려고합니다. 물론 하이퍼 링크 된 이메일 주소로 변환 할 수 있지만 변환해야하는 주소가 여러 개인 경우이 방법은 지루할 것입니다. 이 기사에서는이 작업을 처리하는 데 유용한 몇 가지 트릭에 대해 설명합니다.

Formula를 사용하여 여러 이메일 주소를 하이퍼 링크로 변환

VBA 코드를 사용하여 여러 이메일 주소를 하이퍼 링크로 변환


화살표 블루 오른쪽 거품 Formula를 사용하여 여러 이메일 주소를 하이퍼 링크로 변환

와 더불어 하이퍼 링크 기능을 사용하면 열 이메일 주소를 한 번에 하이퍼 링크 주소로 빠르게 변환 할 수 있습니다.

1. 이 공식을 입력하십시오 = hyperlink ( "mailto :"& A2) 결과를 입력하려는 빈 셀에 스크린 샷을 참조하십시오.

문서는 하이퍼 링크로 주소를 변환 1

2. 그런 다음 채우기 핸들을이 수식을 포함 할 셀로 드래그하면 다음 스크린 샷과 같이 모든 이메일 주소가 클릭 가능한 하이퍼 링크가됩니다.

문서는 하이퍼 링크로 주소를 변환 2


화살표 블루 오른쪽 거품 VBA 코드를 사용하여 여러 이메일 주소를 하이퍼 링크로 변환

보시다시피 위의 공식을 사용하면 mailto :를 원하지 않는 경우 각 이메일 주소 앞에 문자열 "mailto :"가 추가됩니다. 주소 내에서 다음 VBA 코드가 도움이 될 수 있습니다.

1. 누르고 Alt + F11 Excel에서 키를 클릭하고 응용 프로그램 용 Microsoft Visual Basic 창.

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

VBA 코드 : 여러 이메일 주소를 하이퍼 링크로 변환

Sub EmailHylink()
'updateby Extendoffice
    Dim xRg As Range
    Dim xCell As Range
    Dim xAddress As String
    Dim xUpdate As Boolean
    On Error Resume Next
    xAddress = Application.ActiveWindow.RangeSelection.Address
    Set xRg = Application.InputBox("Please select the data range", "Kutools for Excel", xAddress, , , , , 8)
    If xRg Is Nothing Then Exit Sub
    xUpdate = Application.ScreenUpdating
    Application.ScreenUpdating = False
    For Each xCell In xRg
        xCell.Hyperlinks.Add Anchor:=xCell, Address:="mailto:" & xCell.Value
    Next
    Application.ScreenUpdating = xUpdate
End Sub

3. 코드를 붙여 넣은 후 F5 이 코드를 입력하면 사용할 데이터 범위를 선택하라는 메시지 상자가 나타납니다. 스크린 샷을 참조하십시오.

문서는 하이퍼 링크로 주소를 변환 3

4. 그런 다음 OK, 선택한 모든 이메일 주소가 하이퍼 링크 주소로 변환되었습니다. 스크린 샷 참조 :

문서는 하이퍼 링크로 주소를 변환 4

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
Comments (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Ich suche eine Formel mit der ich EMail-Adressen in URLs umwandeln kann...

Beispiel: > http://www.test.de

Kann mir jemand helfen?
This comment was minimized by the moderator on the site
Hello, kk.operator

To solve your problem, please apply the following code:

Sub EmailHylink()
'updateby Extendoffice
    Dim xRg As Range
    Dim yRg As Range
    Dim xCell As Range
    Dim xCell2 As Range
    Dim xAddress As String
    Dim xUpdate As Boolean
    Dim xRegEx As Object
    Dim arrSplit() As String
    
    On Error Resume Next
    xAddress = Application.ActiveWindow.RangeSelection.Address
    Set xRg = Application.InputBox("Please select the data range", "Kutools for Excel", xAddress, , , , , 8)
    Set yRg = Application.InputBox("Please select the save range", "Kutools for Excel", xAddress, , , , , 8)
    If xRg Is Nothing Then Exit Sub
    If yRg Is Nothing Then Exit Sub
    Set yRg = yRg.Range("A1").Resize(xRg.Rows.Count, xRg.Columns.Count)

    xUpdate = Application.ScreenUpdating
    Application.ScreenUpdating = False
    
    Set xRegEx = CreateObject("VBSCRIPT.REGEXP")
    With xRegEx
        .Pattern = "^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$"
        .Global = True
        .IgnoreCase = True
    End With
    
    For I = 1 To xRg.Rows.Count
        For J = 1 To xRg.Columns.Count
            Set xCell = xRg.Cells(I, J)
            Set xCell2 = yRg.Cells(I, J)
            If xRegEx.test(xCell.Value) Then
                arrSplit = Split(xCell.Value, "@")
                 If UBound(arrSplit, 1) = 1 Then
                    xCell2.Value = "http://www." & arrSplit(1)
                    xCell2.Hyperlinks.Add Anchor:=xCell2, Address:=xCell2.Value
                 End If
            End If
        Next
    Next
    Application.ScreenUpdating = xUpdate
End Sub


Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Works perfectly in Excel 2003! Thanks much!
This comment was minimized by the moderator on the site
I'm in a MAC environment so don't have a ALT key. Any other ieas?
This comment was minimized by the moderator on the site
The equivalent for the ALT key is the command key (located to the left of the Option Key).

Both of these keys are located to the left of the spacebar.
This comment was minimized by the moderator on the site
you are a star, it worked perfectly. thanks a million
This comment was minimized by the moderator on the site
I cannot find the find converting cells to hyperlinks.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations