How To Embed Any Microsoft Office Documents Using Google Docs

Hi! Everyone, hope you all are fine.
Today in this post I will tell you how you can embed Microsoft Office Document using Google Docs viewer. There are many ways to embed PDF files online but there are few ways to embed Microsoft Office documents online, one of the ways is using Google Docs viewer. Google Docs viewer supports the following Microsoft Office Documents of all versions (2003, 2007, 2010, etc)

View Microsoft Office Documents In Google Docs Viewer

  1. Get the link of your Microsoft Office document
  2. For example I will take this (http://img.sjbn.co/files/view-any-microsoft-office-documents-without-downloading-from-google-docs-viewer.docx) Microsoft Office document
  3. Now copy the below code
  4. <iframe src="http://docs.google.com/gview?url=YOUR-DOCUMENT-URL&embedded=true" style="width:516px; height:616px;"></iframe>
  5. Change the YOUR-DOCUMENT-URL with your Microsoft Office document URL
  6. Now pate the code where ever you want to display your Microsoft Office document

Here is a demo for you all

If you have any question or problem let me know.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.