A macro includes a couple search and replace steps. It works, but it always displays the search results as it proceeds. It shows the “Show this dialog”, and I uncheck it but that doesn’t do anything. I don’t need/want that.
I’ve looked on/off for a couple days how to suppress it, but I can’t find anything. I don’t want to build my own dialogue box.
This is in calc, if that matters.
LO 7.1.2.2(x64)
Update:
Placing this code before the search/replace steps suppressed it in my working file.
dim argsBS2OC2(0) as new com.sun.star.beans.PropertyValue
argsBS2OC2(0).Name = “Visible”
argsBS2OC2(0).Value = false
dispatcher.executeDispatch(document, “.uno:SearchResultsDialog”, “”, 0, argsBS2OC2())
And then I tried it in a different file, and it didn’t suppress it.