Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-30-2012, 11:02 PM
tinfanide tinfanide is offline IE automation: How to auto-click the first link on the search query page? Windows 7 64bit IE automation: How to auto-click the first link on the search query page? Office 2010 32bit
Expert
IE automation: How to auto-click the first link on the search query page?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default IE automation: How to auto-click the first link on the search query page?

Code:
        For Each oAnchor In IE.Document.anchors
            Debug.Print oAnchor.href
            If oAnchor.href Like "something" Then
                MsgBox oAnchor.href
            End If
        Next oAnchor
From the IE console, I could inspect the href of the first link on the Google search query page. However, I cannot find the exact link when I loop through the search page.



How can I automate clicking the first result link on Google?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you know how to embed a automatic bookmark in a link, so that when people click it oleksy Outlook 3 07-07-2011 03:39 PM
IE automation: How to auto-click the first link on the search query page? cant click on link in outlook - error msg hoho Outlook 4 02-16-2011 08:14 AM
GRRRRR. FAST Trick to Click on a link and use Email acct #2 and signature. JustWayne Outlook 1 12-06-2010 02:48 PM
auto click hyperlink malemodel_75@yahoo.com Outlook 0 02-05-2010 12:05 PM
auto follow link magni PowerPoint 0 01-28-2010 12:48 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft