I need to change the formula in a field of a MS Word document.
This is the current Formula and Format:
I simply do this with:
Sub changeFormula()
ActiveDocument.Fields(1).Code.Text = "=Test1+Test2+Test3"
End Sub
The result looks like this:
My problem is, that the Format is gone and I can’t figure out how it can be recreated or preserved.