Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default use VB to click the submit button, pse see if you can help

I have the following bit of web site source. there is no ID and Name for the
submit button, anyone can help me to change the VB in order to click the
button.

<P<BR<P
<BBefore you can access this function, you will need to login</B
<P
<FONT FACE="Arial" SIZE="-1"<BOperator ID:</B</FONT
<INPUT TYPE="TEXT" NAME="SEC_username" Size=10 VALUE=""
<P
<FONT FACE="Arial" SIZE="-1"<BPassword:</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



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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Submit Button Edith Excel Discussion (Misc queries) 0 April 8th 08 09:56 PM
Submit Button? Bip Excel Discussion (Misc queries) 1 January 15th 07 12:32 PM
Submit Button edwardpestian Excel Worksheet Functions 1 April 27th 06 08:24 PM
Excel VBA to click 'submit' on form Nixter Excel Programming 1 October 13th 05 12:20 AM
Command Button to submit Sarah Excel Programming 3 September 14th 04 07:33 PM


All times are GMT +1. The time now is 06:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"