You might test this using a copy of Northwind's Product table (Product1).
Function ReplaceOmatic(pTable As String, pString As String, pRepwith As String)
'*******************************************
'Name: ReplaceOmatic (Function)
'Purpose: Search and replace for all text
' and memo fields in specified table
'Inputs: ptable: Table to search
' pString: String to replace
' pRepWith: Replacement string
'To call: from debug window: ? replaceomatic("Products1","o","~~"

'To recover: ? replaceomatic("Products1","~~","o"

'*******************************************
Dim db As DATABASE
Dim rs As Recordset
Dim strSQL As String
Dim td As TableDef
Dim namehold As String 'field name
Dim typehold As Integer 'field type
Dim lenhold As Integer 'field size
Dim namefix As String 'contents of namehold
Dim i As Integer, n As Integer
Dim j As Integer, k As Integer, l As Integer
Dim lefthold As String, righthold As String
Set db = CurrentDb
Set td = db.TableDefs(pTable)
'loop through the table's fields, select text or memo fields
i = td.Fields.Count
For n = 0 To i - 1
If td.Fields

.Type = dbText Or td.Fields

.Type = dbMemo Then
'dbText = 10; dbMemo = 12
'tried to used an In()statement here, but couldn't get it to work
namehold = td.Fields

.name
lenhold = td.Fields

.Size
typehold = td.Fields

.Type
Debug.Print namehold & "; " & lenhold & ";" & typehold
strSQL = "SELECT " & namehold & " FROM " & pTable & " WHERE " _
& "Instr([" & namehold & "], """ & pString & """

>0;"
Set rs = db.OpenRecordset(strSQL)
l = 0
'test for empty record set
If Not rs.BOF Then
rs.MoveLast
rs.MoveFirst
l = rs.RecordCount
End If
If l > 0 Then
Do While Not rs.EOF
j = Len(pString)
namefix = rs(namehold)
Do While InStr(namefix, pString) > 0
k = 0
k = InStr(namefix, pString)
lefthold = Left(namefix, k - 1) & pRepwith
righthold = RTrim(Mid(namefix, k + j))
namefix = lefthold & righthold
Loop
'test for field length
If typehold = 12 Or Len(namefix) <= lenhold Then
'12 = memo field
rs.Edit
rs(namehold) = namefix
rs.Update
End If
rs.MoveNext
Loop
End If
End If
Next n
rs.Close
db.Close
Set db = Nothing
End Function