View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel[_179_] joel[_179_] is offline
external usenet poster
 
Posts: 1
Default Web page Login Process:


The login form is an object which your code executes something like
this

Set Form = IE.document.getElementsByTagname("Form")


If you are logged in Form will be set to nothing. So I usually do
this


Set Form = IE.document.getElementsByTagname("Form")

if not Form is nothing then

'add the login code here

end if

This way you skip the login process when you are logged in an don't
create an error. If I had your macro or URL I would modify as required.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=151143

Microsoft Office Help