728x90

자동매크로 기능을 이용해서 얻어낸 텍스트 줄 바꿈 코드다.

Sub 텍스트줄바꿈()
    With Selection
        .HorizontalAlignment = xlGeneral
        .VerticalAlignment = xlCenter
        .WrapText = True
        .MergeCells = False
    End With
End Sub


Sub 텍스트줄바꿈()
    With Range([D2], Cells(Rows.Count, "F").End(3))
        .HorizontalAlignment = xlGeneral
        .VerticalAlignment = xlCenter
        .WrapText = True
        .MergeCells = False
    End With
End Sub



블로그 이미지

Link2Me

,