Inserting Symbols

Smurfit-Stone

Active Member
Joined
Dec 1, 2004
Messages
485
Hello Board,

I have a question....is there a way to have Excel insert a trademark symbol everytime a particular word is typed? I was thinking I could do something with or add to the Auto Correct feature. Thanks in advance.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
For Excel in general, or just in a specific workbook? And what's the word?
 
Upvote 0
Use auto correct.

Tools==>Options==>Spelling==>AutoCorrect Options

Replace "your name" With "your name ™"

To get the ™, just type (tm) in a blank cell (auto correct will change it) and copy the text.
 
Upvote 0
To be workbook only, put this code in the Workbook Open event, replace word with whatever your word is:

Code:
Private Sub Workbook_Open()
Application.AutoCorrect.AddReplacement What:="word", Replacement:="word™"
End Sub

Put this in the Workbook BeforeClose event:

Code:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.AutoCorrect.DeleteReplacement What:="word"
End Sub

and I think this will work for a specific sheet, just change the sheet name and word:

Code:
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
If Sh.Name = "Sheet1" Then
    Application.AutoCorrect.AddReplacement What:="word", Replacement:="word™"
Else
    Application.AutoCorrect.DeleteReplacement What:="word"
End If
End Sub
 
Upvote 0
Awesome.....will this code also work with a company logo. I mean can I paste a custom symbol in the macro?
 
Upvote 0

Forum statistics

Threads
1,217,682
Messages
6,137,961
Members
450,101
Latest member
Mrupe86

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top