First, I know there is considerable material on this subject but i'm still unable to get past it. Had i known this is so difficult to fix i'd tested...
Create variables at the top of your code, then use them wherever you want to inside your function/sub.
(I'd use styles/classes to do the formatting....