We're currently migrating from Ask to Discourse, read the details here

Ask Your Question

[Calc] How would I go about adding multiple functions to one keyboard shortcut?

asked 2019-02-06 17:24:21 +0200

crcordine gravatar image

updated 2021-06-26 13:51:34 +0200

Alex Kemp gravatar image

[Windows 10, 64 bit, LibO version 6.2] Javascript Developer, latest version of JRE

I'm trying to set up my keyboard shortcuts to copy the cells and delete the cells.

I cannot select multiple functions for the custom keyboard short cut, since I cannot do it this way, I'd like to create my own function to be listed for the keyboard shortcuts that allow me to copy all of the selected cells, and then delete them, or if it can be done, an explanation of how, I've considered custom macros outside of LibO that use a combination of different key strokes, but I would much rather employ those directly into LibO instead.

This isn't the entirety of the problem I'm attempting to resolve, it's just the clearest representation of what it is I am trying to do.

edit retag flag offensive close merge delete


There may well be more than one good solution to this problem, but we need to know all relevant information (OS, LibO version, etc.). Please edit into your question - thanks!

David gravatar imageDavid ( 2019-02-07 00:09:52 +0200 )edit

Thank you for your response, I've updated the question with more details

crcordine gravatar imagecrcordine ( 2019-02-07 18:28:26 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-12-25 22:47:42 +0200

igorlius gravatar image

One way would be to write a "Wrapper function/macro", which simply calls the other functions in sequence.

Sub  Wrapper
End Sub

And bind that to the shortcut. But depending on the needed function argument this might be quite a bit of work.

Hope it still helps (somebody)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-02-06 17:24:21 +0200

Seen: 252 times

Last updated: Dec 25 '20