Info

This question is closed. Reopen it to edit or answer.

xlswrite() misfunction with Office

1 view (last 30 days)
mat
mat on 10 Dec 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
hello.
i am trying to write using xlswrite().
a new company Office version has been insatlled: 1811 (Build 1109.20079).
the function fails and I repeatedly get a comment that the file is already opened by another program.
any help will be greatly appreciated!
thanks!!
mat
  2 Comments
madhan ravi
madhan ravi on 10 Dec 2018
close the file which is open maybe with the same name and try again ..
mat
mat on 10 Dec 2018
thanks madhan,
indeed this was my first assumption but it's not that.
i understand that an auto-backup s/w has also been installed and IT is the culprit.. when i disable it, xlswrite works - some Office service issue..
thanks again for your quick response!!

Answers (1)

Haritha
Haritha on 10 Dec 2018
Hi,
Restart your PC and then change the directory of your file. Load the file now and check it.
  1 Comment
mat
mat on 10 Dec 2018
thanks haritha,
i have done what you suggested and it still persisted.
i understand that an auto-backup s/w has also been installed on my pc and IT is the culprit.. when i disable it, xlswrite works - some Office service issue..
thanks again for your quick response!!

This question is closed.

Community Treasure Hunt

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

Start Hunting!