How to manipulate the Menu item with 3 dots (More option)

I'm trying to create a keyboard shortcut in Excel to delete the entire row containing the selected cell.

Currently, I can navigate through the menu bar to Edit > Delete, which opens a dialog box with four options. The third option ("Entire row") is the one I need to select.

My question is: how can I programmatically or via shortcuts manipulate this dialog box to select the third option and confirm by clicking "OK"?

Thank you for your assistance!


image

I'm not sure if this is the best way to achieve this, but here's how I'll do it:

  1. Assign a shortcut (in the screenshot is CMD+\, but it could be different) to that menu item (Delete) via the macOS' settings:

  2. Go to BTT and configure the following:

edit:

hm for some reason the "pointer" of text "The shortcut you configured in macOS setting" is missing, it should point to the last action: CMD+\