surfacebuttonsd is a systemd unit that can re-enable the physical buttons of your surface on Linux. It works by reloading the kernel module soc_button_array at startup. Pretty easy!
Private Sub Buttons_OnClick() 'for buttons Array MsgBox("clicked button") Dim id As String Dim Buttona As Object' As Button Set Buttona = Screen.ActiveControl 'error ...