using xlswrite to edit excel, how to remove the 'content-selection' when I open it.
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
Monisha Nalluru
2020년 9월 15일
The option of not selecting is not present with xlswrite().
But you can try to use UseExcel=false with above writefunctions
댓글 수: 3
Image Analyst
2020년 9월 21일
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.
추가 답변 (1개)
Image Analyst
2020년 9월 14일
You can call xlswrite() again to just write 'Req#' to A1
xlswrite(fileName, 'Req #', sheetName, 'A1');
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!