Thanks.
2)Wenn you press in merged cells right key you cannot select the cells on the right side. It sould selectable.
If you mean to select a cell which now belongs to the merged block: no, this is not intended. That's why they are merged. Being able to select sub-cells of the block would be very confusing because the content and format of the entire block is determined by the top-left cell only. Whatever would be done with the other cells of the block would not be visible.
I don't mean that. I mean the first row or column after merged cells.
In example:
1. Merge cells from B2 to C3 (2 Rows and 2 Columns)
2. Select Merged cell
4. Now press right-key. D2 should be selected but it doesn't.
You can press right-key as often as you want, it will not work.
4. Now press down-key twice. B5 is selected.
You must press down/up key as often as merged row count, to exit merged cells.
I think you must press left/right/up/down-key once to select first cell before or after merged cells.
I looked at code and could not detect where you prevent in horizontal direction. I wanted also correct the false selection in vertical direction.
The best thing is to hold the old selected row or col (before entering in merged cell) in a variable. In example from above when you come from c1 to merged cell (b2:c3) you should exit merged cell to c4 not in b4. (exit to b4 is current behavior).