I have a word document of 20 pages. I want to save each page as a separate HTML file.

How can I do it?

I am using MS Word 2010.


You could probably write a script/macro to do this but you could make the same thing happen is less time by just saving each page manually as a .HTM or .HTML. These options may be listed as "Web Page" or "Single File Web Page" in the Save as Type. drop down.


Recently had the same problem and found this option: macros show how to break up a multipage Word document into separate files. The two macros use the page or section property of a Microsoft Word document to select and move through the document content. This code can be used in an automation scenario with Word not visible. https://support.microsoft.com/en-gb/kb/216845

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.