Description: Find state needs to be persisted so as to be compatible with: https://docs.microsoft.com/en-us/office/vba/api/word.find Seems to be application level so use static Steps to Reproduce: / Actual Results: / Expected Results: / Reproducible: Always User Profile Reset: No Additional Info: /
With Selection.Find .ClearFormatting .Text = "hi" .Execute Forward:=True End With - This would make a new object for every line which ends up not executing anything useful! :-)
Let's put this one as ASSIGNED since you assigned yourself :-)
Hannah Meeks committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f6be2bf969bac1f5c6ac452b313374ba09ffaa58 tdf#149775 - VBA: Find should stay around. It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Looks like this can be changed to fixed status. Thanks.
Hi Hannah Meeks, would it be possible to have a unittest for this issue ?