|
엑셀 매크로로 가운데정렬하는것이
Range("C3").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
로
Range = XLSheet.OlePropertyGet("Range", "A:A");
Range.OleProcedure("Select");
Range.OlePropertySet("HorizontalAlignment","xlCenter"); --> 이부분에서 에러가 남.
가운데 정렬을 하고 싶은데 어떻게 해야 하는지요.
그리고 셀에 테두리를 그리고 싶은데 이곳도 좀 ..
도움을 구합니다.
그럼, 즐거운 하루 되세요.
|