Importing (and exporting) from excel with formatting?
古いコメントを表示
Is there a method to load from excel sheet with formatting and later save the table back to excel INCLUDING previously loaded formatting? I mean fonts, cell background color. I have tables with extensive color coding and I would like to load-modify text-write them automatically.
5 件のコメント
Walter Roberson
2023 年 11 月 30 日
You need to use an ActiveX control or a .NET assembly to talk directly to Excel.
For MacOS or Linux you would probably need to install OfficeLibre or similar and use it's API.
Indrek Morell
2023 年 11 月 30 日
編集済み: Indrek Morell
2023 年 11 月 30 日
Taylor
2023 年 11 月 30 日
Is the formatting of the Excel sheet consistent? If so, you could try just saving a template sheet with the formatting and copying the template before writing the data to it.
Indrek Morell
2023 年 11 月 30 日
Indrek Morell
2023 年 12 月 1 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!