How to remove ™ © from Outlook 2010

We have a user that has a Logitech mouse with a lot of buttons and they have two buttons setup for ™ © when writing reports but they hit it by accident when in Outlook 2010 and want it turned off.

We were able to do this in Word 2010 with the Customize Keyboard options and then remove them but there isn't the Customize Keyboard button under Customize the Ribbon in Outlook 2010. Any help removing ™ © from Outlook would be greatly appreciated.
regsampAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
You can try if you can find Logitech in the Add-Ins settings of Outlook, and only need to activate it.
Other than that, you are left to write VBA code to remove the unwanted chars on send or save.
regsampAuthor Commented:
Let me check the Logitech Add-ins in Outlook or if anyone has example VBA code, that would be great.
regsampAuthor Commented:
No go on the Logitech Add-in
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Example VBA stub, put into the ThisOutlookSession VBA module:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
  If TypeName(Item) = "MailItem" Then
    Item.Body = Replace(Replace(Item.Body, "™", ""), "©", "")
  End If
End Sub

Open in new window

regsampAuthor Commented:
I tried the sample VBA but no go unfortunately.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Did you put into the ThisOutlookSession module, as mentioned?
Is executing macros allowed in Outlook options?

It works for me, but it changes the formatting. I'm currently looking into this.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Seems as if it is better to change the HTML part:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
  If TypeName(Item) = "MailItem" Then
    Item.HTMLBody = Replace(Replace(Item.HTMLBody, "™", ""), "©", "")
  End If
End Sub

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
regsampAuthor Commented:
"Did you put into the ThisOutlookSession module, as mentioned?
Is executing macros allowed in Outlook options?"

Yes and macros is allowed. When the buttons are pressed on the logitech mouse, the ™ © still come up. Okay, let me try the new code and update back.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
The VBA code does not prevent those characters to be inserted, only to be sent.
regsampAuthor Commented:
Only to be sent? I am trying to get it so that when they press those buttons on the mouse by accident, they will not insert into Outlook.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
That is what I said in http:#a40705157:
Other than that, you are left to write VBA code to remove the unwanted chars on send or save.
You cannot intercept input that easily. VBA does not have any means, AFAIK, unless you are using specific form controls you can register KeyPress event handlers on.
regsampAuthor Commented:
Okay, well if there isn't a way from stopping it from inputting then this will be the best option. I will add it in. Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.