2013-10-22 3 views

답변

0

시도해보십시오 응답

tell application "Microsoft Excel" 
    set myData to value of range "A1:C3" of worksheet "Sheet1" of workbook "Workbook1" 
    set value of range "A1:C3" of worksheet "Sheet1" of workbook "Workbook2" to myData 
end tell 

편집

tell application "Microsoft Excel" 
    set targetRange to "A1:C3" 
    set sourceRange to range targetRange of worksheet "Sheet1" of workbook "Workbook1" 
    set destRange to range targetRange of worksheet "Sheet1" of workbook "Workbook2" 
    copy range sourceRange destination destRange 
end tell 
+0

감사합니다 .. 나는 오류 메시지가 받고 있어요 "변수 MYDATA가 정의되어 있지 않습니다." – user2351447

+0

"Sheet1", "Workbook1"및 "Workbook2"의 값을 업데이트하여 실제로 사용하고있는 시트 및 통합 문서의 이름을 반영 했습니까? – adayzdone

+0

그에 따라 시트 및 워크 북 이름이 업데이트되었습니다. – user2351447