Created attachment 174779 [details] the announced attachment If a .FindAll(searchDescriptor) or a .ReplaceAll(searchDescriptor) is called from a SfheetCellRange service or from a SheetCellRanges service containing exactly one range (.Count=1) there is no action. The foundRanges is Null, and the replacement not executed. This I recently experienced with LibO V 7.2.0.4, but also trying old versions (32 bit) I found that even a version as early as 3.5.2 ad the bug. I couldn't test with versions in-betwwen, but the heritage version 3.3. was not afflicted. (AOO 4.1.7 also isn't.) Trying the code contained in the attached example should exemplify the bug. Run it with only a single range of the first sheet selected --> failure Select a second range OR the tab of the second sheet in addition --> success.
Sorryy! When reporting the bug I completely missed to emphasize (in fact I not even mentioned) the very important condition "searching for style". The Basic code in the attached example is containing the lines With searchDe .SearchStyles = True .SearchString = workCS End With The search for .SearchStyles = False with an ordinary .SearchString is NOT afflicted. Sorry
(In reply to Wolfgang Jäger from comment #0) > Created attachment 174779 [details] > the announced attachment > Trying the code contained in the attached example should exemplify the bug. > Run it with only a single range of the first sheet selected --> failure > Select a second range OR the tab of the second sheet in addition --> success. I reproduce. The failure error is: Inadmissible value or data type. Data type mismatch. Pointing to line 17 For Each rg In csRgs Arch Linux 64-bit Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: f5c6ef40dd494f6984c6ed784fccc02806999836 CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 7 September 2022
Dear Wolfgang Jäger, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Bug present in V24.8.0.3 Reported for V3.5.2 Tested with many versions later. Was not found in V3.3 (and is not found in AOO 4.1.7) ==> REGRESSION