View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel joel is offline
external usenet poster
 
Posts: 9,101
Default Web Login, Table1

I'm on line. How can I help? Can you post a URL?

Usually I dump some of the properties onto a worksheet to solve these
problems. Arrays like Table start at zero.

with sheets("sheet1")
RowCount = 1
for each itm in ie.document.all
.range("A" & RowCount) = itm.tagname
.range("B" & RowCount) = itm.classname
.range("C" & RowCount) = itm.id
.range("D" & RowCount) = left(itm.tagname,1024)
Rowcount = Rowcount + 1
next itm
end with



"Vikram Dhemare" wrote:

Hi,
I am trying the code to downlaod the web table from a password protected
site by using Mr. Joel's code. But when the programme reaches to
Set Mytables = IE.document.getelementsbytagname("table")
Set History = Mytables(1)
it gives an error "Object doesn't support this type of property.
When I tried
Set Mytables = IE.document.getelementsbyID("table")
Set History = Mytables(1)
then it gives the message "Permission Denied". How do I find the Table
reference.
There are many Tables in the Web Page. I want only a particular table to be
retrieve after every 5 - 10 minutes.
Also, if the Web page is active,then it should not reopen the new link i.e.
to skip the set IE process.
Atually what happens, if the Web page is Idle for some time, then it gets
logged out automatically. Only at this moment the macro should pass the "Log
In" process.
Can anybody help me out to resolve this issue.
--
Thanks,
Vikram P. Dhemare