I suggest you DO NOT MERGE cells when you are doing vba. Merging gives some problems.
I have removed merging.
now select the first cell in your erstwhile merged range
for e.g A12
click the button in the sheet
similarly select c12 and click the
or E12 or A19,C19 or E19
Keep the original data safely form somewhere
the macro which is invoked by the button is called "test" and given below (also available in the attached file's vbeditor)
Instead of merging, if necessary select the necessary range e.g. A12:B16 and format -borders with thick line or colored line
CONFIRM IF THIS IS OK
Bookmarks