Hello @Valkyrias,

In order to Find & Replace the text of Formula objects embedded in your Writer document, you could use a macro like this:

```
Sub Writer_Find_and_Replace_Formula( strFind As String, strReplace As String )
REM This finds all occurrences of <strFind> within all Formula objects embedded within the current Writer document,
REM and replaces the found occurrences by <strReplace>.
REM NB. This action can not be Undone via the menu "Edit : Undo".
Dim oDoc As Object
oDoc = ThisComponent
Dim oEmbeddedObjects As Object, oObj As Object
oEmbeddedObjects = oDoc.getEmbeddedObjects()
Dim i As Integer
For i = 0 To oEmbeddedObjects.getCount() - 1
oObj = oEmbeddedObjects.getByIndex( i ).getEmbeddedObject()
If oObj.ImplementationName = "com.sun.star.comp.Math.FormulaDocument" Then REM Found a Formula.
oObj.Formula = Join( Split( oObj.Formula, strFind ), strReplace ) REM Perform Find & Replace.
End If
Next i
End Sub
```

Are you talking od 'Math' formulas? (There are also table-formulas.)

Please give some more details.

Math formulas are not handled by 'Writer' directly, but as OLE objects by 'Math'. I cannot clearly see in what way you may hope to be able to apply 'F&R' to a formula.