Ask Your Question

Macro basic programming: Function for Search Bar (Ctrl+F)

asked 2018-03-01 09:01:12 +0100

linuxyz gravatar image

updated 2018-03-01 11:08:12 +0100

Hi! I've found the function to display the search dialog (triggered by Ctrl+H), it's .uno:SearchDialog like in :

dispatcher.executeDispatch(document, ".uno:SearchDialog", "", 0, Array())

But I haven't found the function to display the search bar, at the bottom (triggered by Ctrl+F), Does it exist?

Thanks a lot in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-03-04 11:14:49 +0100

linuxyz gravatar image
Sub test_findbar
dim document as object
dim dispatcher as object

dispatcher = createUnoService("")
dispatcher.executeDispatch(document, "", "", 0, Array())
End Sub
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-03-01 09:01:12 +0100

Seen: 63 times

Last updated: Mar 04 '18