Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 30th, 2006, 12:07 AM
Registered User
Join Date: Nov 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to use Excel VB to click a button which is!!

can anyone advise how to use VB to click a button which is a image, as (source code as) and the URL is www.powertel.com.au

<B>Username:</B><INPUT TYPE="text" NAME="ssousername" SIZE="15" MAXLENGTH="30" VALUE="" >
<br><B> Password:</B><INPUT TYPE="password" NAME="password" SIZE="15" MAXLENGTH="30">
<tr><td align="center" valign="bottom">
<input type="image" src="../../portalimages/buttons/submit.gif" border="0" onClick = "val(); return false">

my VB is

   IE.document.all("ssousername").Value = a
   IE.document.all("password").Value = b
   'ie.document.all.Item("sign In")
Set ipf = IE.document.all.Item("Submit")


Similar Threads
Thread Thread Starter Forum Replies Last Post
click event for vb YesNo button mohiddin52 Access VBA 2 January 14th, 2007 02:25 AM
How to Click a web button using VB code AJD Access VBA 6 June 6th, 2006 07:32 AM
How to Click a button on a web page in VB code AJD Beginning VB 6 0 June 2nd, 2006 12:08 PM
A button to click from vb, on webbrowser object !! mmd VB How-To 2 January 19th, 2004 07:11 AM
Use of one jscript fn, 1 VB fn on Button click bvrao VS.NET 2002/2003 2 January 12th, 2004 03:41 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.