Solved

Outlook - Adding a signature

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
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…

828 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