Share via

Microsoft word open document error

Anonymous
2012-11-07T18:45:11+00:00

How to fix a document with this warning:

 Open XML file cannot be opened because there are problems with the contents or file name might contain invalid characters

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Bob Jones AKA CyberTaz MVP 436K Reputation points
2012-11-08T17:11:29+00:00

Although there is a slim possibility that the file name contains illegal characters it isn't the most likely cause. You can easily test by locating the file in Finder, renaming it to something strictly containing alpha characters & moving the file to a folder from which you have no problem opening other files. If Word still balks you can be certain that "invalid characters" isn't the problem.

More likely, the file has been damaged in some way or has content that Word cannot interpret. The specific element involved could have been introduced in the file if the document originated from or has been edited by another user. Also, some earlier versions of Word 2007 which haven't been properly updated have been known to create .docx files that can't be opened by other versions of the program.

There are numerous other possibilities, but unfortunately you may never figure out 'why'. The important concern is salvaging the file if you can. These are some options to consider:

  • If you can get a copy of the file to a PC running a fully updated Office 2007 or later, see if you can open the file there. Win Word has more powerful file repair tools than the Mac version. If you can open the file there, examine the content to see if there are any objects that might be the source of the problem. Remove the objects & Save As to create a new .docx file.
  • If no objects, copy all but the last , paste to a new blank document, then use Save As as above.
  • Launch the Open XML Converter app & drag the document into the converter window. If it can, that will generate an .rtf version of the file. Use File> Open from within Word 2011, then Save As in .docx format.
  • In Mac Word 2011, use File> Open & select Recover Text from Any File from the Enable: list. You'll lose any graphic content but may be able to recover the text.

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2012-11-08T00:50:02+00:00

    what's the exact name of the file.

    2011 has a bit of accidental PC code in that does not allow certain forbidden Characters. However; it so deep in code if they can't take it out without the whole application suite blowing up.

    Some of the forbidden Characters are:

    Numbers before names, Superscript/Subscripts, "  '  \ | / < > { } [ ] <<  >>

    Numbers after Names are okay.  None of these character can be used in name of Hard Drive, Directory Names, and any File Names.

    And on servers no names can have the name File or Fileserver  in any path names.

    You can use _ (underscores).

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Bob Jones AKA CyberTaz MVP 436K Reputation points
    2012-11-08T16:28:16+00:00

    Re: " 2011 has a bit of accidental PC code in that does not allow certain forbidden Characters. However; it so deep in code if they can't take it out without the whole application suite blowing up."

    Where do you come up with some of this pap? Do you ever test anything before you proclaim it as fact?... Let alone 'authoritatively' proffer it to other users as a solution.

    Yes, there are 'illegal characters' but this is more of a universal consideration with most operating systems than having to do with something "deep in code".

    Filenames most definitely can begin with numbers with no problem. In fact, most of the characters you cite -- "  '  | < > { } [ ] <<  >> -- do not present a problem... And I'd really appreciate it if you'd teach us how to use Sub/Superscript characters in file names in the first place. Of all the characters you specified, the only ones that Word objects to are slashes / and backslashes , as noted in Mac Help:

    "You can use numbers and most symbols. You can’t include a colon (:) or start the name with a period (.). Some applications may not allow you to use a slash (/) in a filename."

    ... And yes, I tested each & every one individually & in combinations, as well as a few others [i.e., *, &, %, ^, %, #, @, !, ?]. Word had no problem with any of them.

    Please verify before posting or qualify as your opinion.

    Was this answer helpful?

    0 comments No comments