Go Premium for a chance to win a PS4. Enter to Win


Adding conditional signatures in Outlook 2010

Posted on 2011-09-20
Medium Priority
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
  • 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?
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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 2000 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
Take a look at these 6 Outlook Email management tools which can augment the working and performance of Microsoft Outlook to give you a more rewarding emailing experience.
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 …
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.

783 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