View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Martin Fishlock Martin Fishlock is offline
external usenet poster
 
Posts: 694
Default CreateDocumentFromUrl

Jack,

You could try opening the file as text and getting the table information
like that, it is much the same idea that you had.



--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Jack Clift" wrote:

I am writing an application that uses oMSHTML.createDocumentFromUrl to parse
a series of .html files located on my local disk drive (not the web).

It appears that even though the files are found locally, this instruction is
trying to download the web resources referenced in the file (say images or
the like) - the reason for the file being on the local disk in the first
place is that the internet connection is slow at best and may or may not be
live.

Is there anyway to use this (or similar instructions) that do not attempt to
download items from to the web?

All that I want from the parsing exercise is information that is in the file
(in a table). My only option appears to be to write a routine that deletes
all text in the html file that is not between a "<table " and "</table tags.
Crude to say the least.

thanks

JC