buster_gonad
06-04-2011, 06:53 AM
Hi All,
I currently have the following code on my outlook to place the word restricted in my e-mails if I forget.
What I would like to have is the code to prompt me that the word restricted is not there and ask me
Do I wish to insert restricted and send mail or Do I wish to send email without restricted
Private sub Application-Itemsend (by Val Item as object, Cancel as boolean
If (left (Trim(Item.subject, 11)) <> "restricted" then
Item.subject = "restricted" + item.subject
end if
end sub
Can anyone help on the dedvelopment journey as I am fairly new to VB
Thanking you all in advance
Buster
I currently have the following code on my outlook to place the word restricted in my e-mails if I forget.
What I would like to have is the code to prompt me that the word restricted is not there and ask me
Do I wish to insert restricted and send mail or Do I wish to send email without restricted
Private sub Application-Itemsend (by Val Item as object, Cancel as boolean
If (left (Trim(Item.subject, 11)) <> "restricted" then
Item.subject = "restricted" + item.subject
end if
end sub
Can anyone help on the dedvelopment journey as I am fairly new to VB
Thanking you all in advance
Buster