how to use macro to make my code
A thread with this name was deleted. The question of the OP was certainly a legitimate one for a text editor forum. I answered it to the best of my abilities. So why was it deleted?
The original poster decided to delete the topic with no explanation given. It has been restored using moderator powers.
And it is HERE.