how can i add my result to sheet 2 in my excel sheet

1 回表示 (過去 30 日間)
Praveen Choudhury
Praveen Choudhury 2015 年 10 月 19 日
編集済み: Praveen Choudhury 2015 年 10 月 19 日
I have written a script which reads data from an excel file (sheet1) and then I perform some tasks. I want to add my resulted sheet in that excel file but in sheet 2. I am using actxserver for this.

回答 (1 件)

Meghana Dinesh
Meghana Dinesh 2015 年 10 月 19 日
Use the syntax:
xlswrite(filename,A,sheet)
  1 件のコメント
Praveen Choudhury
Praveen Choudhury 2015 年 10 月 19 日
編集済み: Praveen Choudhury 2015 年 10 月 19 日
I am not using xlswrite. Rather I am using actxserver. I want to add my result to sheet 2 using actxserver.
Below shows how I am doing it
h = actxserver('excel.application');
%Create a new work book (excel file)
wb=h.WorkBooks.Add();

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by