limting autocorrect

J

J.E. McGimpsey

one way:

Put this in the ThisWorkbook code module (right-click on the
workbook title bar, choose View Code, paste the following in the
window that opens, then click the XL icon on the toolbar to return
to XL):

Private Sub Workbook_Activate()
Application.AutoCorrect.AddReplacement "(a)", "(apple)"
End Sub

Private Sub Workbook_Deactivate()
Application.AutoCorrect.DeleteReplacement "(a)"
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top