using xlswrite to edit excel, how to remove the 'content-selection' when I open it.
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Leo Zhai
am 11 Sep. 2020
Kommentiert: Image Analyst
am 21 Sep. 2020
When I use xlswrite to edti an excel. then I open it, it will shows the edited part as bellow 'now: selection status'(with a gray box).But I want it to be as 'expected: no-selection status'
2 Kommentare
Akzeptierte Antwort
Monisha Nalluru
am 15 Sep. 2020
The option of not selecting is not present with xlswrite().
But you can try to use UseExcel=false with above writefunctions
3 Kommentare
Image Analyst
am 21 Sep. 2020
Yes, with old versions of MATLAB, they did not leave the Excel running as an ActiveX server so each time you called it, it has to launch Excel all over again. The way around that is to use ActiveX the whole way though. I'm attaching an example.
Weitere Antworten (1)
Image Analyst
am 14 Sep. 2020
You can call xlswrite() again to just write 'Req#' to A1
xlswrite(fileName, 'Req #', sheetName, 'A1');
0 Kommentare
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!