Solved

Outlook - Adding a signature

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Set OWA language and time zone in Exchange for individuals, all users or per database.
If you don't know how to downgrade, my instructions below should be helpful.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

7 Experts available now in Live!

Get 1:1 Help Now