I am hoping the Excel Gurus can help.
Using Excel 2007
I am looking to merge cells in a row through a range of columns:
Merge A6:H6
Merge J6:N6
Merge P6:S6
Then repeat the above for every 4th row for their respective cells.
Therefore i end up with A10:H10 merged etc etc
at the moment i have a mess of code:
Range("J6:n6").MergeCells = True
Range("J10:n10").MergeCells = True
Range("J14:n14").MergeCells = True
Range("J18:n18").MergeCells = True
This code is repeated for every merge.
Thanks in advance of any help
Using Excel 2007
I am looking to merge cells in a row through a range of columns:
Merge A6:H6
Merge J6:N6
Merge P6:S6
Then repeat the above for every 4th row for their respective cells.
Therefore i end up with A10:H10 merged etc etc
at the moment i have a mess of code:
Range("J6:n6").MergeCells = True
Range("J10:n10").MergeCells = True
Range("J14:n14").MergeCells = True
Range("J18:n18").MergeCells = True
This code is repeated for every merge.
Thanks in advance of any help