code for cutting:
Thanks for your help, the code works (simple!) but when Shift Delete is assigned to the script as a shortcut, it doesn't work. Any other combination does work - e.g. Control Delete. I've now given up on this and will use Ctrl Del instead.
I would definitely suggest that you do the effort to get adjusted to the "new" standard shortcuts. The IBM Common User Access, that used those shortcuts has been dead and buried for more than 20 years (even the last remaining "zombie" - the cmd.exe - has finally retired those shortcuts in windows 10). Consider that most newer laptops don't even have the Insert/Delete keys anymore. Really.. those keyboard shortcuts are as dead as MS-Dos...
Vamitul, yes you are absolutely right! I'm still stuck in the DOS dark ages. Thanks for making me laugh.