Outlook Signature By Time











up vote
0
down vote

favorite












Good Afternoon,



I currently have a client who is experiencing some issues with his signatures in Outlook.



As part of his business he has a disclaimer attached to the bottom of his signature to state that the email was sent during work hours.



He is chasing to find out if there is any way, beyond manually selecting between two email signatures, to have a signature automatically used when replying/sending emails during certain times and another post those times.



So far as I am aware and those I work with this is not possible however I thought I would ask the question in case.










share|improve this question







New contributor




KHes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • One common way to do it is have the official "full" signature in his Outlook, and another "on my phone" signature on his phone for when he's not at his work PC. If you need to do it on the same PC, you can have a secondary sig by using a second email program or webmail, if available. Why differentiate the signatures instead of putting office hours in the one signature?
    – Christopher Hostage
    yesterday












  • No real reason from what I can tell, thinking its more just due to preference.
    – KHes
    18 hours ago















up vote
0
down vote

favorite












Good Afternoon,



I currently have a client who is experiencing some issues with his signatures in Outlook.



As part of his business he has a disclaimer attached to the bottom of his signature to state that the email was sent during work hours.



He is chasing to find out if there is any way, beyond manually selecting between two email signatures, to have a signature automatically used when replying/sending emails during certain times and another post those times.



So far as I am aware and those I work with this is not possible however I thought I would ask the question in case.










share|improve this question







New contributor




KHes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • One common way to do it is have the official "full" signature in his Outlook, and another "on my phone" signature on his phone for when he's not at his work PC. If you need to do it on the same PC, you can have a secondary sig by using a second email program or webmail, if available. Why differentiate the signatures instead of putting office hours in the one signature?
    – Christopher Hostage
    yesterday












  • No real reason from what I can tell, thinking its more just due to preference.
    – KHes
    18 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Good Afternoon,



I currently have a client who is experiencing some issues with his signatures in Outlook.



As part of his business he has a disclaimer attached to the bottom of his signature to state that the email was sent during work hours.



He is chasing to find out if there is any way, beyond manually selecting between two email signatures, to have a signature automatically used when replying/sending emails during certain times and another post those times.



So far as I am aware and those I work with this is not possible however I thought I would ask the question in case.










share|improve this question







New contributor




KHes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Good Afternoon,



I currently have a client who is experiencing some issues with his signatures in Outlook.



As part of his business he has a disclaimer attached to the bottom of his signature to state that the email was sent during work hours.



He is chasing to find out if there is any way, beyond manually selecting between two email signatures, to have a signature automatically used when replying/sending emails during certain times and another post those times.



So far as I am aware and those I work with this is not possible however I thought I would ask the question in case.







windows microsoft-outlook signature






share|improve this question







New contributor




KHes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




KHes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




KHes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









KHes

31




31




New contributor




KHes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





KHes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






KHes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • One common way to do it is have the official "full" signature in his Outlook, and another "on my phone" signature on his phone for when he's not at his work PC. If you need to do it on the same PC, you can have a secondary sig by using a second email program or webmail, if available. Why differentiate the signatures instead of putting office hours in the one signature?
    – Christopher Hostage
    yesterday












  • No real reason from what I can tell, thinking its more just due to preference.
    – KHes
    18 hours ago


















  • One common way to do it is have the official "full" signature in his Outlook, and another "on my phone" signature on his phone for when he's not at his work PC. If you need to do it on the same PC, you can have a secondary sig by using a second email program or webmail, if available. Why differentiate the signatures instead of putting office hours in the one signature?
    – Christopher Hostage
    yesterday












  • No real reason from what I can tell, thinking its more just due to preference.
    – KHes
    18 hours ago
















One common way to do it is have the official "full" signature in his Outlook, and another "on my phone" signature on his phone for when he's not at his work PC. If you need to do it on the same PC, you can have a secondary sig by using a second email program or webmail, if available. Why differentiate the signatures instead of putting office hours in the one signature?
– Christopher Hostage
yesterday






One common way to do it is have the official "full" signature in his Outlook, and another "on my phone" signature on his phone for when he's not at his work PC. If you need to do it on the same PC, you can have a secondary sig by using a second email program or webmail, if available. Why differentiate the signatures instead of putting office hours in the one signature?
– Christopher Hostage
yesterday














No real reason from what I can tell, thinking its more just due to preference.
– KHes
18 hours ago




No real reason from what I can tell, thinking its more just due to preference.
– KHes
18 hours ago










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Here is a macro that should be able to do the job you seek; just modify it to your liking.



Public Sub CreateMessageSignature()
Dim objMsg As MailItem
Dim theDay As Integer
Dim hoursStart, hoursEnd As Double
Dim custom As String
Set objMsg = Application.CreateItem(MailItem)
theDay = Weekday(Now)
hoursStart = TimeValue("8:00:00 am")
hoursEnd = TimeValue("4:30:00 pm")
custom = "This message is sent out of office hours."
If theDay > 1 And theDay < 7 Then ' Mon-Fri
If Now > hoursStart And Now < hoursEnd Then ' The current time is between office hours
custom = "This message is sent during office hours."
End If
End If
With objMsg
.HTMLBody = "Greetings,<br><br>&emsp;Sincerely,<br><br>John Smith<br>contact@example.com<br>(123)-456-7890<br>" & custom & strBuffer
.Display
End With


End Sub



If you don't know how to set it up:




  1. Enable the Developer menu in Outlook: File → Options → Customize Ribbon → Bubble in the Developer menu.

  2. Create the macro: Developer menu → Macros → Type in a name, particularly CreateMessageSignature (unless you want to rename the function which you can) → Click "Create" → Copy and paste the macro (beware of indentations) → Modify to your liking → Save (Ctrl+S)

  3. Now add the button to the Home section of the ribbon: File → Options → Customize Ribbon → Create a new group in "Home (Mail)", name it to your liking → Select it and on the right side find the macro you just made and press "Add".


Good Luck!






share|improve this answer





















  • Cheers mate, will give it a whirl!
    – KHes
    18 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






KHes is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1374915%2foutlook-signature-by-time%23new-answer', 'question_page');
}
);

Post as a guest
































1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










Here is a macro that should be able to do the job you seek; just modify it to your liking.



Public Sub CreateMessageSignature()
Dim objMsg As MailItem
Dim theDay As Integer
Dim hoursStart, hoursEnd As Double
Dim custom As String
Set objMsg = Application.CreateItem(MailItem)
theDay = Weekday(Now)
hoursStart = TimeValue("8:00:00 am")
hoursEnd = TimeValue("4:30:00 pm")
custom = "This message is sent out of office hours."
If theDay > 1 And theDay < 7 Then ' Mon-Fri
If Now > hoursStart And Now < hoursEnd Then ' The current time is between office hours
custom = "This message is sent during office hours."
End If
End If
With objMsg
.HTMLBody = "Greetings,<br><br>&emsp;Sincerely,<br><br>John Smith<br>contact@example.com<br>(123)-456-7890<br>" & custom & strBuffer
.Display
End With


End Sub



If you don't know how to set it up:




  1. Enable the Developer menu in Outlook: File → Options → Customize Ribbon → Bubble in the Developer menu.

  2. Create the macro: Developer menu → Macros → Type in a name, particularly CreateMessageSignature (unless you want to rename the function which you can) → Click "Create" → Copy and paste the macro (beware of indentations) → Modify to your liking → Save (Ctrl+S)

  3. Now add the button to the Home section of the ribbon: File → Options → Customize Ribbon → Create a new group in "Home (Mail)", name it to your liking → Select it and on the right side find the macro you just made and press "Add".


Good Luck!






share|improve this answer





















  • Cheers mate, will give it a whirl!
    – KHes
    18 hours ago















up vote
1
down vote



accepted










Here is a macro that should be able to do the job you seek; just modify it to your liking.



Public Sub CreateMessageSignature()
Dim objMsg As MailItem
Dim theDay As Integer
Dim hoursStart, hoursEnd As Double
Dim custom As String
Set objMsg = Application.CreateItem(MailItem)
theDay = Weekday(Now)
hoursStart = TimeValue("8:00:00 am")
hoursEnd = TimeValue("4:30:00 pm")
custom = "This message is sent out of office hours."
If theDay > 1 And theDay < 7 Then ' Mon-Fri
If Now > hoursStart And Now < hoursEnd Then ' The current time is between office hours
custom = "This message is sent during office hours."
End If
End If
With objMsg
.HTMLBody = "Greetings,<br><br>&emsp;Sincerely,<br><br>John Smith<br>contact@example.com<br>(123)-456-7890<br>" & custom & strBuffer
.Display
End With


End Sub



If you don't know how to set it up:




  1. Enable the Developer menu in Outlook: File → Options → Customize Ribbon → Bubble in the Developer menu.

  2. Create the macro: Developer menu → Macros → Type in a name, particularly CreateMessageSignature (unless you want to rename the function which you can) → Click "Create" → Copy and paste the macro (beware of indentations) → Modify to your liking → Save (Ctrl+S)

  3. Now add the button to the Home section of the ribbon: File → Options → Customize Ribbon → Create a new group in "Home (Mail)", name it to your liking → Select it and on the right side find the macro you just made and press "Add".


Good Luck!






share|improve this answer





















  • Cheers mate, will give it a whirl!
    – KHes
    18 hours ago













up vote
1
down vote



accepted







up vote
1
down vote



accepted






Here is a macro that should be able to do the job you seek; just modify it to your liking.



Public Sub CreateMessageSignature()
Dim objMsg As MailItem
Dim theDay As Integer
Dim hoursStart, hoursEnd As Double
Dim custom As String
Set objMsg = Application.CreateItem(MailItem)
theDay = Weekday(Now)
hoursStart = TimeValue("8:00:00 am")
hoursEnd = TimeValue("4:30:00 pm")
custom = "This message is sent out of office hours."
If theDay > 1 And theDay < 7 Then ' Mon-Fri
If Now > hoursStart And Now < hoursEnd Then ' The current time is between office hours
custom = "This message is sent during office hours."
End If
End If
With objMsg
.HTMLBody = "Greetings,<br><br>&emsp;Sincerely,<br><br>John Smith<br>contact@example.com<br>(123)-456-7890<br>" & custom & strBuffer
.Display
End With


End Sub



If you don't know how to set it up:




  1. Enable the Developer menu in Outlook: File → Options → Customize Ribbon → Bubble in the Developer menu.

  2. Create the macro: Developer menu → Macros → Type in a name, particularly CreateMessageSignature (unless you want to rename the function which you can) → Click "Create" → Copy and paste the macro (beware of indentations) → Modify to your liking → Save (Ctrl+S)

  3. Now add the button to the Home section of the ribbon: File → Options → Customize Ribbon → Create a new group in "Home (Mail)", name it to your liking → Select it and on the right side find the macro you just made and press "Add".


Good Luck!






share|improve this answer












Here is a macro that should be able to do the job you seek; just modify it to your liking.



Public Sub CreateMessageSignature()
Dim objMsg As MailItem
Dim theDay As Integer
Dim hoursStart, hoursEnd As Double
Dim custom As String
Set objMsg = Application.CreateItem(MailItem)
theDay = Weekday(Now)
hoursStart = TimeValue("8:00:00 am")
hoursEnd = TimeValue("4:30:00 pm")
custom = "This message is sent out of office hours."
If theDay > 1 And theDay < 7 Then ' Mon-Fri
If Now > hoursStart And Now < hoursEnd Then ' The current time is between office hours
custom = "This message is sent during office hours."
End If
End If
With objMsg
.HTMLBody = "Greetings,<br><br>&emsp;Sincerely,<br><br>John Smith<br>contact@example.com<br>(123)-456-7890<br>" & custom & strBuffer
.Display
End With


End Sub



If you don't know how to set it up:




  1. Enable the Developer menu in Outlook: File → Options → Customize Ribbon → Bubble in the Developer menu.

  2. Create the macro: Developer menu → Macros → Type in a name, particularly CreateMessageSignature (unless you want to rename the function which you can) → Click "Create" → Copy and paste the macro (beware of indentations) → Modify to your liking → Save (Ctrl+S)

  3. Now add the button to the Home section of the ribbon: File → Options → Customize Ribbon → Create a new group in "Home (Mail)", name it to your liking → Select it and on the right side find the macro you just made and press "Add".


Good Luck!







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









El8dN8

1,098318




1,098318












  • Cheers mate, will give it a whirl!
    – KHes
    18 hours ago


















  • Cheers mate, will give it a whirl!
    – KHes
    18 hours ago
















Cheers mate, will give it a whirl!
– KHes
18 hours ago




Cheers mate, will give it a whirl!
– KHes
18 hours ago










KHes is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















KHes is a new contributor. Be nice, and check out our Code of Conduct.













KHes is a new contributor. Be nice, and check out our Code of Conduct.












KHes is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1374915%2foutlook-signature-by-time%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

Сан-Квентин

Алькесар

Josef Freinademetz