On lines 49 and 50 you are dropping the same view twice.
On line 11 you defined _TMPIN view. Change one of the duplicates to drop that view instead of the other one.
Lines 54 to 58 are where you are calling the macro. These are the lines you would want to change if you want to change the input and output table names.