I am trying to open a doc saved as .XLS using Libre Office
I’m not sure what you want to achieve. You write two statements, though it is not clear where the connection should be.
Please describe exactly your problem and ask a meaningful question.
Please edit your input question or write a comment. Don’t write an answer if it is not an answer to your input question. Thank you.