Can't Read .htm Files
I am saving a web page as .htm (HTML only), and attempting to read it in Word 2007. I used to be able to do read it by right clicking on the file, and choosing to open with Word. At this point, I could extract information using VBA. Today, when I try this, Word opens and tells me it has 0 characters. If I now try to save it as a web page, the length of the saved file is still substantial; moreover, I can open the saved file in IE and it shows a lot of content. Obviously, the information is still present in Word even though it refuses to display it. Can any one explain what's going on? How can I get at the content with VBA?
I've observed that this is not occurring at a different web site; there I can follow the same steps and see the page when I open it in Word. Using a hex editor, I've compared a file which opens successfully in Word with one that doesn't At least the first 200 characters seem to be consistent -- I haven't checked them all.
|