Write operation using Activexserver command
1 回表示 (過去 30 日間)
古いコメントを表示
Gopalakrishnan venkatesan
2015 年 5 月 11 日
回答済み: Thomas Koelen
2015 年 5 月 11 日
I have 4 array, a = [1 2 3] b=[4 5 6] c=[8 9 10], text=[num1 num2 num3]
I need to write to excel sheet where a in sheet1, b in sheet2, c in sheet3 and i also should have header for three sheet as it is mentioned in text?
How can I do this?
Thanks a lot
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/150000/image.jpeg)
0 件のコメント
採用された回答
Thomas Koelen
2015 年 5 月 11 日
ws = wb.Worksheets.Item('sheetname');
Insert this before you put something in the sheet, that way it will in what sheet to put it. 'sheetname' is the name of the sheet you are trying to change, you can get these sheets with the xlsinfo command (or do it manually).
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!