티스토리 뷰
■ 차트서식 넣기
Sub FormatAChart() If ActiveChart Is Nothing Then MsgBox "Activate a chart" Exit Sub End If With ActiveChart .ChartType = xlColumnClustered .ApplyLayout 10 .ChartStyle = 30 .SetElement msoElementPrimaryValueGridLinesNone .ClearToMatchStyle End With End Sub |
▶ ChartType : 차트 종류 지정
▶ ApplyLayout : 차트도구>디자인>차트 레이아웃 ' ApplyLayout 10, xlColumnClustered 로 차트 종류 함께 지정
▶ ChartStyle : 차트도구>디자인>차트 스타일
▶ SetElement : 구성요소 표시 여부
▶ ClearToMatchStyle : 모든 사용자 지정 서식 제거
■ 그림자 효과 넣기
Chart에 | Title에 |
Sub FormatAChart() With ActiveChart.ChartArea.Format.Shadow .Visible = msoTrue .Blur = 10 .Transparency = 0.4 .OffsetX = 6 .OffsetY = 6 End With End Sub |
Sub FormatAChart() ActiveChart.ChartTitle.Format.Fill.BackColor.RGB = RGB(255, 255, 255) With ActiveChart.ChartTitle.Format.Shadow .Visible = msoTrue .Blur = 3 .Transparency = 0.3 .OffsetX = 2 .OffsetY = 2 End With End Sub |
■ 3D 효과 넣기
Sub FormatAChart() With ActiveChart.ChartArea.Format.ThreeD .Visible = msoTrue .BevelTopType = msoBevelDivot .BevelTopDepth = 12 .BevelTopInset = 32 End With End Sub |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Excel
- 함수 재계산
- 적용 범위
- 프로시저 호출
- function함수 예외
- 참조
- 차트 레이블 추가
- EnableCancelKey
- 강제 재계산
- comment.text
- 배열
- WorkSheet Sort
- 함수 프로시저
- Function Procesure
- 차트 서식변경
- 프로시저 작성 실전
- 워크시트 함수 재계산
- 개체
- Application.InputBox
- vba
- for each
- ProtectStructure
- 원본 데이터
- 사용자 정의 함수 재계산
- Option Compare Text
- inputbox
- bubble sort
- Screenupdating
- 사용자 정의 함수 사용 예
- 사용자 정의 함수
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함