Creating macro for shadowing

Take a look at this post and see if it helps you any.