How to write data into an excel file but keep the original formatting?
20 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How can I write values into my excel file without changing the formatting that already exists. specifically I want to keep the cell formulas and cell colours unchanged. This is what I have so far but it wipes out all formatting:
writetable(ResultMtx,Result_File);
1 Commento
Mathieu NOE
il 25 Ago 2021
hello
have you tried to protect your excel file before your write into it from matlab ?
Risposte (1)
Image Analyst
il 25 Ago 2021
Modificato: Image Analyst
il 25 Ago 2021
What release are you using? You forgot to enter it for some reason when you filled out the submission form. Yes that was a problem but I believe they fixed it now. Try release r2021a or later. If I recall correctly, it's no longer blowing away my formatting present in an already-existing workbook.
0 Commenti
Vedere anche
Categorie
Scopri di più su Spreadsheets in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!