LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How to Clickbuttons on internet Explorer pages with Excel VBA

I can open a instance of Internet explorer with VBA in excel fine an
using some code I found here... navigate to my required webpage but
then I need to click various buttons etc.... is the only way to do
this with sendkeys or can I refer to the various controls by name and
click them.

I start it up with this code below.

cheers

Bobsa


=====================

Dim IEObj As Object

Sub Test()


OpenIE "https://ibol38.ibb.ubs.com/"
End Sub

Public Sub OpenIE(vURL As String)

On Error GoTo ErrorHandler
IEObj.Visible = True
With IEObj
.Visible = True
.Navigate vURL
Do Until Not .Busy
DoEvents
Loop
End With
Exit Sub
ErrorHandler:
Set IEObj = Nothing
Set IEObj = CreateObject("InternetExplorer.Application")
Resume Next
End Sub
 
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
Launching Excel From internet Explorer pjnesbitt Excel Discussion (Misc queries) 0 June 27th 06 04:21 PM
Running Internet Explorer from Excel Wojciech G. Charts and Charting in Excel 3 August 19th 05 02:50 PM
Hyperlink from Internet Explorer to Excel Ian West Excel Discussion (Misc queries) 0 July 20th 05 02:25 PM
Calling an Excel Doc from Internet Explorer Sven Schulze Excel Programming 0 February 25th 04 10:10 AM
Can I control Internet Explorer using Excel VBA? JohnI Excel Programming 2 September 1st 03 12:21 AM


All times are GMT +1. The time now is 05:50 PM.

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"