Hi Mike,
Regina Henschel schrieb am 07.02.2026 um 16:25:
Hi Mike,
Mike Kaganski schrieb am 07.02.2026 um 12:50:
On 2/6/2026 8:44 PM, Regina Henschel wrote:
How do I select a specific named database range?
In Basic, using dispatcher it would be:
dim args2(0) as new com.sun.star.beans.PropertyValue
args2(0).Name = "DbName"
args2(0).Value = "upper"
dispatcher.executeDispatch(document, ".uno:SelectDB", "", 0, args2())
Possibly check invocations of
`self.xUITest.executeCommandWithParameters`.
It is now
propDbName = mkPropertyValues({"DbName": "upper"})
self.xUITest.executeCommandWithParameters(".uno:SelectDB", propDbName)
And that works fine. Thank you for the tip.
Kind regards,
Regina