In both cases you do not show the declaration of the Sub at the top of the code.
The code is very difficult to read because the variables are not declared, the variable names are cryptic, and there are no comments. Just speaking for myself it would take me way more time just to understand what this code does than I can offer for free. And that doesn't even get into how to combine them.
If the first sub is Worksheet_Change you can take the same approach as I have done below.
Here is a quick combination of the two Worksheet_SelectionChange events without needing to understand what any of it does. By doing analysis of the functionality it might be possible to make it more efficient or more readable. It's impossible to test without your file.
Bookmarks