When writing code in Excel in my Windows 11 VM, a keystroke is sometimes duplicated. For example if I want to type in "Next", the result might be "Neext". The duplication of key strokes also happens using the delete key and that is very dangerous, because if I mean only to delete a particular line of code, the line above it may also be deleted without my noticing. I would blame the problem on my keyboard except that the problem never happens anywhere else.