Solved

Outlook issue

Posted on 2010-08-19
7
239 Views
Last Modified: 2013-02-10
One of the user in our company is facing issue in outlook , some time when he replies on any mail his signature format got change its due to sender mail format. Then user has to change his mailformat(HTML,Rich Text) for that mail, user is getting frustrate by doing this manual task.

Is there any option so whenever user will reply on any mail the mail format will be constant as defined by user.
0
Comment
Question by:Abhishek_Anand
  • 2
  • 2
7 Comments
 
LVL 2

Accepted Solution

by:
nycynik earned 125 total points
ID: 33481028
You can use this macro to make outlook work like You need it to.
Specify if You want to reply in plain or HTML format.
Put this macro in VBS editor into ThisOutlookSession

Choose if you want to reply in HTML or plain text in this line:
   'olFormat = olFormatPlain        '(*1) - always use plain text
   olFormat = olFormatHTML        '(*2) - always use HTML

In this case, reply, forward, reply to all is generated in HTML.

If You want it to be in plain, just make it like this:
   olFormat = olFormatPlain        '(*1) - always use plain text
   'olFormat = olFormatHTML        '(*2) - always use HTML

\\\macro - begin///

Option Explicit

Private WithEvents oExpl As Explorer
Private WithEvents oItem As MailItem

Private bDiscardEvents As Boolean
Private olFormat As OlBodyFormat


Private Sub Application_Startup()
   
   Set oExpl = Application.ActiveExplorer
   
   bDiscardEvents = False
   
   'olFormat = olFormatPlain        '(*1) - uz.ywaj zawsze formatu "zwyk?y tekst"
   olFormat = olFormatHTML        '(*2) - uz.ywaj zawsze formatu HTML
   
End Sub

Private Sub oExpl_SelectionChange()

   On Error Resume Next
   Set oItem = oExpl.Selection.Item(1)
   
End Sub

' (*3) Uz.ytkownik wybra? polecenie "Odpowiedz"
Private Sub oItem_Reply(ByVal Response As Object, Cancel As Boolean)

   If bDiscardEvents Or oItem.BodyFormat = olFormat Then
       Exit Sub
   End If
   
   '(*4) Anuluj domys'lna; akcje;
   Cancel = True

   bDiscardEvents = True
   
   ' (*5) Utwo'rz odpowiedz' na wiadomos'c' w formacie tekstowym
   Dim oResponse As MailItem
   Set oResponse = oItem.Reply
   oResponse.BodyFormat = olFormat
   oResponse.Display
   
   bDiscardEvents = False
   
End Sub

' (*6) Uz.ytkownik wybra? polecenie "Odpowiedz wszystkim"
Private Sub oItem_ReplyAll(ByVal Response As Object, Cancel As Boolean)

   If bDiscardEvents Or oItem.BodyFormat = olFormat Then
       Exit Sub
   End If

   Cancel = True
 
   bDiscardEvents = True
   
   Dim oResponse As MailItem
   Set oResponse = oItem.ReplyAll
   oResponse.BodyFormat = olFormat
   oResponse.Display
   
   bDiscardEvents = False
   
End Sub

' (*7) Uz.ytkownik wybra? polecenie "Przes'lij dalej"
Private Sub oItem_Forward(ByVal Forward As Object, Cancel As Boolean)
   
   If bDiscardEvents Or oItem.BodyFormat = olFormat Then
       Exit Sub
   End If
   
   Cancel = True

   bDiscardEvents = True
   
   Dim oResponse As MailItem
   Set oResponse = oItem.Forward
   oResponse.BodyFormat = olFormat
   oResponse.Display
   
   bDiscardEvents = False
   
End Sub

\\\macro -end ///
0
 
LVL 2

Expert Comment

by:nycynik
ID: 33481035
I also should say, there is no option to force it to reply in HTML, but there is this macro.
0
 

Author Comment

by:Abhishek_Anand
ID: 33602231
we tried that but still no luck
0
 
LVL 25

Expert Comment

by:Diverse IT
ID: 37933777
Hi Abhishek_Anand!

This is occurring by design...if the send sends you an email from plain text and you have it set to send in HTML it will match the mail format of the sender's message.

This option costs $29, but it works! http://www.emailaddressmanager.com/outlook/format.html
0
 
LVL 25

Assisted Solution

by:Diverse IT
Diverse IT earned 125 total points
ID: 37933806
Here is another option...use Hotkeys (free) to change it in 1 keystroke or mouse click. http://www.autohotkey.com/
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Read this checklist to learn more about the 15 things you should never include in an email signature.
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…
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 …

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now