Solved

Outlook - Adding a signature

Posted on 2014-10-07
3
16 Views
Last Modified: 2016-06-03
I have a script that is creating an signature based off of AD properties.

Pulling all the information in is working.

However I need to add a corporate logo.

It is pulling from a web address and I need to put into the script to link to the file instead of just embedding the file. So if the file were to change, the image changes as well.

This is what I have now but it just embeds the file
set objShape = objSelection.InlineShapes.AddPicture("file path")

Help!
0
Comment
Question by:awgit
3 Comments
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 250 total points
ID: 40367793
0
 
LVL 21

Assisted Solution

by:Hendrik Wiese
Hendrik Wiese earned 250 total points
ID: 40367855
Your filepath will be the http:// location of the image.

Try the following:

'Company Logo
objShape.Item(1).height = 42
objShape.Item(1).width = 316
Set objLink = objSelection.Hyperlinks.Add(objSelection.InlineShapes.AddPicture("filepath"), "http://yourlink.com/",,,"")

Open in new window


Hope this helps!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question