1
Excel의 차트에있는 모든 모양을 반복하고 싶습니다. 이 그러나, 재산 TextFrame
이 모양의 모든 유형에 의해 알 수없는vba : 모양에 텍스트 프레임이 포함되어 있는지 테스트합니다.
Dim currChart As Chart
Set currChart = Sheets("Diagramm 1")
Dim sShapes As Shape
For Each sShapes In currChart.Shapes
Debug.Print sShapes.name
Debug.Print sShapes.TextFrame.Characters.Text
Next sShapes
에 원칙적으로 작동합니다. 따라서 도형에 텍스트 프레임이 있는지 테스트하고 싶습니다. 어떻게해야합니까?
좋은 +1입니다. :) –