Excel ファイルのシート名を変更することはできますか?
이전 댓글 표시
MATLAB から Excel を利用するために ACTXSERVER を使用しています。ヘルプドキュメントには以下のようなコードがありますが、ワークブック内のシート名を変更する方法がわかりません。
filename = 'C:\SomeExcelFile.xls';
% Open Excel Automation server
Excel = actxserver('Excel.Application');
% Make Excel visible
Excel.Visible=1;
% Open Excel file
Workbook = Excel.Workbooks.Open(filename);
% Get the list of sheets in the workbook
Sheets = Excel.ActiveWorkbook.Sheets;
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB の COM オブジェクト에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!