Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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
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?
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Changing a few Outlook Options can help keep you organized!
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
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…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

719 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