Share via

How to display HTML code from a Word 2007 created document?

Anonymous
2010-09-07T14:40:21+00:00

In Word 2003 I was able to display the corresponding html code from a Word document.

How do I do that in word 2007?

I have read the responses from the original

http://social.answers.microsoft.com/Forums/en-US/wordcreate/thread/0573c5ca-7f0c-40a3-82fa-6b0f45f3d07,

but it does not make sense.

In short, I want to create a Word document and then be able to display display its html code.

Thanks

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

Anonymous
2010-09-07T15:35:31+00:00

The link you provided gives a 404 error, so it's not possible to see what the answer was - although I believe I recognize the question...

I usually like to provide background information and my information source to back up a statement, but to boil it down to something more understandable:

The feature was removed from Office 2007. It's not there any more. You can't do what you did in Word 2003.

A Word document does not natively have HTML Code. You can save a Word document to "web page" format, open that in a text editor (or in Word if you activate the option that will let you select the encoding) and view the HTML the converter generated.

But in its native environment, a Word document is either in its binary file format or in the new OpenXML file format. It's never in HTML format. The tool that was integrated in earlier versions of Word (the VB Script editor) to show you HTML has been removed from Office 2007, so it's no longer possible to view any HTML.


Cindy Meister, VSTO/Word MVP

Was this answer helpful?

3 people found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-09-07T16:02:44+00:00

    Cindy,

    THANK YOU.

    I chose the path of saving a word document as web page, filtered and opened it with note pad.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2010-09-19T16:00:38+00:00

    Oh my goodness, this is very disappointing news to learn that my upgraded office suite will no longer support html editing.

     

    I maintain the page I created eons ago using word.  Do you have any suggestions as to how I may continue to maintain it with regard to similarities to word as it was before which I am so very familiar with?  I am not savvy enough to create or maintain a page similar to the one I have using just plain text in notepad.

     

    Thanks a lot for the support,

    Selvan


    Win7HP64b

    Microsoft offers several free tools for developers as long as you don't have any commercial intentions with the result:http://www.microsoft.com/express/Downloads/

    The Web Developer Express program provides tools to edit html code. You can choose between a "Design" and a "Source" view in the program. The former is an editor similar to Word while the latter allows you to edit the code directly like you would do in notepad.

    There are also several other tools freely available on the internet. Just do a Google search.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-09-19T15:51:12+00:00

    Oh my goodness, this is very disappointing news to learn that my upgraded office suite will no longer support html editing.

    I maintain the page I created eons ago using word.  Do you have any suggestions as to how I may continue to maintain it with regard to similarities to word as it was before which I am so very familiar with?  I am not savvy enough to create or maintain a page similar to the one I have using just plain text in notepad.

    Thanks a lot for the support,

    Selvan


    Win7HP64b

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-09-07T16:16:31+00:00

    Hi soapman

    glad I was able to provide a workable approach, second time around :-)

    If you're up to a bit more work, there's a way you can re-open the document, saved as a web page, in Word to see the "plain text":

    Office button/Word options/Advanced tab. In the General section, activate the option "Confirm conversions on open". This will present a dialog box anytime you try to open a file that isnot a *.doc or *.docx, prompting you to choose the encoding (the file format you want to apply). Choose the option for "plain text".


    Cindy Meister, VSTO/Word MVP

    Was this answer helpful?

    0 comments No comments