VBA
피벗테이블 Pagefield 접근하기 (엑셀VBA)
악마성
2022. 3. 3. 19:46
728x90
반응형
VBA로 엑셀 피벗 테이블 페이지 필드 접근하기
With pvt
.PivotFields(strPage).Orientation = xlPageField ' <-- 페이지 필드
.PivotFields(strRow).Orientation = xlRowField ' <-- 행
.PivotFields(strRow).ShowDetail = False ' <-- 필드명 기준으로 숨기기
End With
728x90
반응형