Hello Pravin,
Please do following steps. You just need to set "security" level for macro.
1) Open outlook
2) Press Alt+F11
3) Press ctrl+A for code & copy add lines of Code.
4) Double click "ThisOutlookSession" under Microsoft Office outlook objects
5) Paste
6) Click save
7) Restart "outlook"
8)
Hi Suyog / Rajan
I have tried the same as per your guidelines but neither it's working nor
giving any MSG.
Fyi please.
Regards
Pravin Gunjal
On Tue, Sep 18, 2012 at 2:25 PM, Suyog wrote:
> Thanks Rajan.!
> Per my understanding, I need to add first OR then need to use code. Ex: *If
> InStr
Thanks Rajan.!
Per my understanding, I need to add first OR then need to use code. Ex: *If
InStr(strText, "Attach") Or InStr(strText, "PFA") Or **InStr(strText,
"Included") **Then*
Please check line for "included" word.
# Rajan, Mails/discussion not getting received on my Gmail but I can ab
Hello Rajan
Could you please inform how to use this code in outlook.
Thanks
Pravin Gunjal.
On Mon, Sep 17, 2012 at 7:58 PM, Rajan_Verma wrote:
> *I have created below macro before sometime you can use this and can add
> more words condition in Red Line*
>
> * *
>
> *Option Compare Text*
>
> * *
>
I have created below macro before sometime you can use this and can add more
words condition in Red Line
Option Compare Text
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim strSubject As String
Dim strBody As String
Dim strMsg As Str