VBA Catia V5R2015 setFontSize method

Hello
A macro using the setfontsize method on text boxes in a drawing crashes in R2015 while it works in rR21.
"Automation error" message

Nothing in the "CAA V5 Visual Basic Help" indicates a change in this method.

Any idea?

Kind regards

The problem was that the dlls of the R2016 version were enabled in Catia R20

The macro worked except for the SetFontSize method.

a Cnext /regserver in the install folder of the R20 version of Catia solves the problem.