![]() ![]() For more information visit www.datanumen. Shirley Zhang is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including fix mdf and outlook repair software products. Also, it’s highly recommended to prepare a potent PST fix tool in vicinity, such as DataNumen Outlook Repair. Therefore, you have to back up your PST file on a regular basis. Actually PST file in Outlook is the same prone to damage. Maybe you have ever suffered word document corruption before. PST File Is Same Vulnerable as Word Document If there is no such a contact in your Outlook, you will get a prompt:.If the contact indeed exists in your Outlook, its business card image will be inserted to the document at once. In the new dialog box, input the full name of the specific Outlook contact, like the image below:.Click the “Run” icon the toolbar in the VBA editor window.NPrompt = MsgBox("No such a contact exists in your Outlook!", vbExclamation + vbOKOnly, "Find Contact") ObjFileSystem.DeleteFile (strTempFolderPath) 'Delete the temporary business card image FileName:=strTempFolderPath, LinkToFile:=False, SaveWithDocument:=True 'Insert the business card image to the current document ObjContact.SaveBusinessCardImage (strTempFolderPath) StrTempFolderPath = objFileSystem.GetSpecialFolder(2).Path & "\" & strBusinessCard Set objFileSystem = CreateObject("Scripting.FileSystemObject") StrBusinessCard = objContact.Fullname & ".jpg" 'Save the business card picture to Temp folder Set objContact = objContacts.Find(" = '" & strContactName & "'") StrContactName = InputBox("Enter the full name of the specific Outlook contact:") Set objContacts = (olFolderContacts).Items Set objOutlookApp = CreateObject("Outlook.Application") After that, open a new module and copy the following VBA codes into it.Subsequently, in the new dialog box, find and enable the “Microsoft Outlook Object Library” like the screenshot below:.From its drop down list, select “Reference”.Next in the popup “Microsoft Visual Basic for Applications” window, click the “Tools” in the toolbar.Then press “Alt + F11” key buttons to access your Word VBA editor.In the first place, open your Microsoft Word application.Insert the Business Card of a Specific Contact into Your Word Document Here we will expose a quick tip that is using VBA. Business Card view displays the contacts as if they were business cards. Perhaps you may wish to directly insert the contacts’ business card image into the word document, in that it will be much more active and attractive. Tap or click Outlook (Contacts) below View Source to display the Contact window. However, both of them can only insert the contact’s information in the form of text. In my previous article – “ 2 Methods to Insert Outlook Contact Info into a Word Document”, I have introduced 2 tips to extract and add specific Outlook contact’s information into a word document. It will teach you how to directly insert the specific contact’s business card image, which will look more active than textual information. When you’re composing a document in MS Word and wish to insert the information of specific Outlook contact, you can use the following method in this article. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |