Why doesn't LibreOffice open .docx attachment?

LibreOffice for Mac never has had any problem with .docx or any other attachment with a link to Word, but recently I received an attachment in .docx that opened, instead in Pages. I don’t use Pages; it changed formatting of the attachment; and I don’t think that a PC could open a document in Pages, even if I sent it back that way.

Has anyone else had a time when LibreOffice didn’t open a common kind of attachment? If so, what was the problem and what were you able to do? I really don’t want to be forced to buy MS Office, just for this one file, but if this is going to keep on happening, I guess I’ll bite the bullet.

Thanks for your help.

Your file associations need to be set so that your operating system knows what application to open .docx files with. See Mac FAQ Q33/A33 for some advice.

If this answer helped you, please accept it by clicking the check mark :heavy_check_mark: to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.