Printable View
How to merge cells and protect them in Excel using Visual Basic Code (VBA)
Use the macro recorder - it should be self-evident from there.