Sheets in excel file xlswrite and xlsread

14 ビュー (過去 30 日間)
Andray Alshami
Andray Alshami 2020 年 11 月 4 日
コメント済み: dpb 2025 年 11 月 5 日 14:04
I have an xls file with one sheet, I want to create another sheet in it and write in that sheet, How can I do that?
  4 件のコメント
Cris LaPierre
Cris LaPierre 2025 年 11 月 5 日 2:43
編集済み: Cris LaPierre 2025 年 11 月 5 日 2:43
I don't believe so. You would need to use ActiveX for Excel to recalulate its equations.
dpb
dpb 2025 年 11 月 5 日 14:04
Not definite, but my observation of the behavior of the writeXXXX clan is that if one sets 'UseExcel',1 then Excel will recalculate. I've been writing dynamic "=SUM($D$3:$D$53)" and other formulas with writecell and those get interpreted as the formulas and are evaluated when looking at the workbook or the value is returned if read the cell, not the formula.

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

回答 (0 件)

カテゴリ

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