To get document-sharing feature, your WhatsApp should be updated to latest version (current version is v2.12.503). Once you updated your WhatsApp to the latest version, you can enable the messenger to send any document types (DOC, TXT, PPT, XLS and many others) regardless of the size, but should have root permission on the phone. Thanks to the XDA contributor yossijoe for the simple workaround. With a few simple steps, you can share any document types to your contacts. Supported formats are DOC, TXT, PPT, XLS and many others.
How to Share any Document Types via WhatsApp
Download [HERE] and update WhatsApp to latest version
Install ES File Explorer from Play Store
Open ES File Explorer, enable Root Explorer and then navigate to data/data/com.WhatsApp/shared_prefs/com.WhatsApp_preferences.xml with ES Note Editor.
You will see the string <string name=documents">PDF
Add the extensions doc,txt,docx,pptx,xls besides pdf.
Save the editing and force close WhatsApp.
Restart your phone and see how it is working. You are now ready to share any document types (pdf, doc, txt, docx, pptx, xls) with your contacts. (Source – XDA)