Sheets in excel file xlswrite and xlsread

15 Ansichten (letzte 30 Tage)
Andray Alshami
Andray Alshami am 4 Nov. 2020
Kommentiert: dpb am 5 Nov. 2025 um 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 Kommentare
Cris LaPierre
Cris LaPierre vor etwa 15 Stunden
Bearbeitet: Cris LaPierre vor etwa 15 Stunden
I don't believe so. You would need to use ActiveX for Excel to recalulate its equations.
dpb
dpb vor etwa 4 Stunden
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by