pse see the following scripts and advise if you can assist.

G

Guest

Can anyone help? I just to use the following VB to send a click stroke,
anyone can help to identify what I have to do as I cannot get it work because
I cannot find the right click name or ID?


ie.document.all("SEC_username").Value = "XX"
ie.document.all("SEC_password").Value = "XXXX"
Set ipf = ie.document.all.Item("submit")<---this maybe incorrect.
ipf.Click





<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML><HEAD>
<TITLE>XXXXXXXXXXXXXXXXXXXXXXXXXXXX -XXXX</TITLE></HEAD>
<BODY BGCOLOR=#FDBD49>
<FORM METHOD=POST ACTION="http://XXX.XXX.XXX/cgi-bin/ias.cgi">
<INPUT TYPE=HIDDEN NAME=scr VALUE="login.cgi">
<CENTER>
<P><BR><P>
<B>Before you can access this function, you will need to login</B>
<P>
<FONT FACE="Arial" SIZE="-1"><B>Operator ID:</B></FONT>
<INPUT TYPE="TEXT" NAME="SEC_username" Size=10 VALUE="">
<P>
<FONT FACE="Arial" SIZE="-1"><B>Password:</B></FONT>
<INPUT TYPE="PASSWORD" NAME="SEC_password" Size=10 VALUE="">

<P><BR><P>
<INPUT TYPE="HIDDEN" NAME="scriptname" VALUE="/cgi-bin/ias.cgi">
<INPUT TYPE="HIDDEN" NAME="parameters" VALUE="scr=menu_main%2ecgi">
<INPUT TYPE="HIDDEN" NAME="SEC_usertype" VALUE="operator">

<INPUT TYPE="SUBMIT" VALUE="LOGIN">
<INPUT TYPE="RESET" VALUE="Clear">
</CENTER>
</FORM>

</BODY>
</HTML>
 
U

Udo

Hi,

as this is a group focussed on Excel programming I suggest to post your
question in a group where the experts for HTML programming are looking
at.

Good luck
Udo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top