0
사과 스크립트를 사용하여 Excel 2011에서 여러 시리즈로 차트를 만들고 싶습니다.사과 스크립트를 사용하여 Excel 시리즈에서 여러 시리즈를 만드는 방법
tell application "Microsoft Excel"
tell worksheet "Sheet1" of active workbook
set obj to make new chart object at end with properties {left position:20, top:88, width:33, height:90}
set ochart to chart of obj
set chart type of ochart to column clustered
set series 1 of series collection to ochart
tell series 1
set xvalues to "=Sheet1!$B$7:$B$10"
set name to "shartseries1"
end tell
end tell
end tell
이 스크립트 차트가 생성되고 차트 유형이 성공적으로 설정되었지만 차트 시리즈가 만들어지지 않았습니다.
안녕, 일련의 값이 "= {1}"다음 스크립트는 "Microsoft Excel에서이 오류가 발생했습니다 : 클래스 시리즈를 만들 수 없습니다"즉 착오를 통해입니다. 속성이있는 새 시리즈를 만들기 위해 새 시리즈를 설정하십시오. {series value : "= {1}"} 재생하십시오. – user1705318