I viewed your video and I have a better idea of your problem although I have never seen this before. The code you are showing has absolutely no relation to the actions you took when recording the macro. In addition, it is just wrong. That code looks like it was written by hand by someone who doesn't know how to write VBA.
Somehow the module is being seeded with code that was written earlier, but I do not know how this is possible. The only thing I can think of is to check to see if there is an Excel file configured to use as a template for new files that has some bad code in it. I suggest you check to see if there is anything unexpected in the startup folder.
If you don't know where your startup folder is, you can find it in File, Options, Advanced:
Attachment 690180
Bookmarks