How convert this code to a macro?

Printable View