Good Morning

I'm still somewhat new to programming in general, but am learning as I go. For VBA, I usually record the macro in Excel, then go step by step to see what each line's doing, and the end result is to be able to understand the language and write my own programs. I recorded something this morning, but when I step into it to check what each line does, it errors out. I'm not sure why, because it's line-for-line what Excel wrote. Most of it is pretty basic, using replace all and basic formatting. The complete code is posted below. The line causing the error is

Please Login or Register  to view this content.

Any help or assistance is appreciated.

Please Login or Register  to view this content.