Macro to link stack pages

There are a couple of older posts that may help??

and