I am trying to create a piece of code that replaces one word with another. Example: Replace Avenue with Ave and North with N. I am using MS Access, I could use SQL REPLACE F
Use Access's VBA function Replace(text, find, replacement):
Dim result As String result = Replace("Some sentence containing Avenue in it.", "Avenue", "Ave")