때때로 이메일을 작성할 때이 메일을 메시지 본문의 이메일 주소로 참조 할 수 있습니다. 이 기사는 빠른 시간 내에 얻을 수 있도록 안내합니다.
예를 들어, 누군가가 이메일 주소와 같은 일부 사람의 연락처 정보를 요청합니다. 이 경우 다른 사람에게 연락처 정보를 보낼 때이 문제를 알릴 수 있습니다. 따라서 메시지 본문의 이메일 주소를 "참조"필드로 복사하려고합니다. 일반적으로 수동으로 하나씩 수행해야합니다. 하지만 너무 지루하고 번거 롭습니다. 따라서 다음에서는 훨씬 더 지능적인 방법을 소개합니다.
작성시 본문에서 발생하는 이메일 주소를 "CC"필드에 복사
- 처음에 "Alt + F11"키를 눌러 Outlook VBA 편집기를 시작합니다.
- 그런 다음 새 창에서 다음 VBA 코드를 빈 모듈에 넣습니다.
Sub CopyEmailAddresses_FromBodyToCCField()
Dim objMail As Outlook.MailItem
Dim objMailDocument As Object
Dim objDocRange As Object
Dim objRecipient As Outlook.Recipient
'Get the current mail
Set objMail = Application.ActiveInspector.CurrentItem
Set objMailDocument = objMail.GetInspector.WordEditor
Set objDocRange = objMailDocument.Range
'Extract email addresses from mail body
With objDocRange.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = "[A-z,0-9]{1,}\@[A-z,0-9,.]{1,}"
.MatchWildcards = True
.Wrap = wdFindStop
.Execute
End With
'Add the found email addresses as CC recipients
While objDocRange.Find.Found
Set objRecipient = objMail.Recipients.Add(objDocRange.Text)
objRecipient.Type = olCC
objDocRange.Collapse wdCollapseEnd
objDocRange.Find.Execute
Wend
'Resolve all recipients
objMail.Recipients.ResolveAll
End Sub
- 그런 다음 VBA 편집기를 종료하고 ""를 참조하여이 새 매크로를 메시지 창의 빠른 실행 도구 모음에 추가하십시오.Outlook에서 VBA 코드를 실행하는 방법".
- 결국 한 번 찍을 수 있습니다. 여기 내 실제 사례가 있습니다.
- 먼저 본문에 이메일 주소 스택이 포함 된 이메일을 작성합니다.
- 그런 다음 빠른 실행 도구 모음에서 매크로 버튼을 클릭합니다.
- 매크로가 완료되면 즉시 본문의 모든 이메일 주소가 아래 스크린 샷과 같이 "CC"필드에 복사됩니다.
Outlook 데이터가 손상된 경우
It’s well known that Outlook can get compromised due to a variety of factors, like human errors, sudden shut-down, Outlook inner software faults as well as your computer hardware malfunctions and so on. Thereby, in reality, many users have been ever subject to similar issues in Outlook. It is admitted that the most vexing and troublesome problem is Outlook file damage. In that situation, you’ll need to resort to professional PST 복구 서비스 또는 소프트웨어 DataNumen Outlook Repair.
저자 소개 :
Shirley Zhang은 데이터 복구 전문가입니다. DataNumen, Inc.는 다음과 같은 데이터 복구 기술 분야의 세계적 리더입니다. mdf 수정 및 전망 수리 소프트웨어 제품. 자세한 내용은 WWW.datanumen.COM


