Solved

Outlook - Adding a signature

Posted on 2014-10-07
3
13 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 78

Accepted Solution

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Read this checklist to learn more about the 15 things you should never include in an email signature.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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 …

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now