셀 3개씩 병합해보자. 1. 엑셀파일 만들기 2. 코드작성 1 2 3 4 5 6 7 8 9 10 Sub 병합하고가운데맞춤() Range(ActiveSheet.Cells(2, 4), ActiveSheet.Cells(2, 4 + 2)).Merge Range(ActiveSheet.Cells(2, 4), ActiveSheet.Cells(2, 4 + 2)).HorizontalAlignment = xlCenter Range("G2:I2").Merge Range("G2:I2").HorizontalAlignment = xlCenter End Sub Colored by Color Scripter cs 3. 결과