Adding conditional signatures in Outlook 2010

Posted on 2011-09-20
Last Modified: 2012-06-27
Hi!  I'm using Outlook 2010 (no Exchange) and have a couple default signatures that I use all the time.  One is much longer than the other and is supposed to be the default for outgoing emails (policy).  However, it's very lengthy and when sending reply after reply to the same person, I see no reason to have the full sig in there more than once.  I haven't been able to find a way to easily change it "conditionally"- I can either set Outlook up with NO sig and insert it each time (not realistic) or delete the extra text (also not realistic) each time.

What I would love to be able to do is set it up so that when I see an email I want to reply to I can click a button and have it open the message to "reply" and insert a specific signature.  I thought maybe this could be a "Quick Step" but if so, I can't find a way to do it there.

Am I missing something simple or is there no way to do this?
Question by:aaepa
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
LVL 37

Expert Comment

by:Neil Russell
ID: 36568440
If you add several sigs......
You can define a Sig you NEW emails and a SIG for replies in the sig editor...

Also When sending an email if you rright glick in the sig you can select of of your other sigs instead.
LVL 37

Expert Comment

by:Neil Russell
ID: 36568448

Expert Comment

ID: 36568563
I think the author wants to include the signature on the reply one time, but if replying multiple times in the same thread, NOT include the signature after the first reply.

I think you could create a macro for that?
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

LVL 37

Expert Comment

by:Neil Russell
ID: 36568596
So like I said. Set the REPLY sig to be a very short one. You can set 2 dif Sigs. One for NEW and one for Replies.
If your replying, you can assume that the send knows who you rare, what your email address is, what company you work for.... Why have a huge sig for ANY Replies.

-------------- Reply Sig --------------



Author Comment

ID: 36568620
Neilsr: I do have the signatures already set up properly. I have a different one for new and for replies.  That is not my problem... I want to be able to easily use the "shorter" signature with a one-button click (or macro keystroke) for CERTAIN replies.  ALSO, as to your 2nd comment - my company requires that when a user contacts us for support, we reply with SPECIFIC TEXT (2 paragraphs) telling them where they can get "software training". I don't want this going out to a user five times in one day.  I think once is sufficient..

Busymama: you're correct; that is what I am looking for.  Possibly just too much brain mud today, but I am not coming up with a macro that works. I could insert a sig with a macro but since it's only about 20% of the time that I want to use the shorter one, and i send ~100 emails a day, I don't want to have to create a macro to run in EACH email (I will forget to run it) so I have to have the "default reply email" set up - which means I would need to have a macro *delete* the sig that is auto-inserted and then insert the one I want.   Perhaps you see a solution I'm not seeing?  

Accepted Solution

BusyMama earned 500 total points
ID: 36569241
OK ... so I set my Outlook up to always reply WITH one signature (WorkSignature); but then I wrote a macro to reply using a different signature.  I didn't have to delete WorkSignature when I used the macro, it just automatically used the signature I defined (TestSig).

I borrowed from another source whose name is credited in the code.

Function GetBoiler(ByVal sFile As String) As String
'Dick Kusleika
    Dim fso As Object
    Dim ts As Object
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set ts = fso.GetFile(sFile).OpenAsTextStream(1, -2)
    GetBoiler = ts.readall
End Function

Sub Mail_Outlook_With_Signature_Plain()
' Don't forget to copy the function GetBoiler in the module.
' Working in Office 2000-2010
    Dim OutApp As Object
    Dim OutMail As Outlook.MailItem
    Dim strbody As String
    Dim SigString As String
    Dim Signature As String

    Set OutApp = CreateObject("Outlook.Application")
    If Application.ActiveExplorer.Selection.Count Then
    If TypeOf Application.ActiveExplorer.Selection(1) Is Outlook.MailItem Then
    Set OutMail = Application.ActiveExplorer.Selection(1).Reply

    strbody = "Hi there" & vbNewLine & vbNewLine & _
              "This is line 1" & vbNewLine & _
              "This is line 2" & vbNewLine & _
              "This is line 3" & vbNewLine & _
              "This is line 4"

    'Use the second SigString if you use Vista or Win 7 as operating system

    'SigString = "C:\Documents and Settings\" & Environ("username") & _
                "\Application Data\Microsoft\Signatures\Mysig.txt"

    SigString = "C:\Users\" & Environ("username") & _

    If Dir(SigString) <> "" Then
        Signature = GetBoiler(SigString)
        Signature = ""
    End If

    On Error Resume Next
    With OutMail
        .Body = strbody & vbNewLine & vbNewLine & Signature
        .Display   'or use .Send
    End With
    On Error GoTo 0

    Set OutMail = Nothing
    Set OutApp = Nothing
End If
End If
End Sub

Open in new window


Author Closing Comment

ID: 36569297
BusyMama - THANK YOU!!!

It works as-is and I can easily tweak it to pull in what I want... YEA!  This will save me a bunch of time!!

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

627 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