Auto click a hyperlink

Discussion in 'Microsoft Outlook VBA Programming' started by malemodel_75, Feb 4, 2010.

  1. malemodel_75

    malemodel_75 Guest

    Hi,

    I am very new to vba/macros etc.

    My problem: I receive many emails daily to which i need to click on a hyperlink within a time limit to verify receipt of the email. It is very tedious task to having to be on 'standby' to do this mundane task.
    I am trying to setup a macro where when an email is received it automatically clicks on the link for me. Is this possible?

    Thanks in advance,.
    Submitted using http://www.outlookforums.com
     
    malemodel_75, Feb 4, 2010
    #1
    1. Advertisements

  2. malemodel_75

    Johnb Guest

    "malemodel_75" <malemodel_75[at]yahoo[dot]com> wrote in message
    news:...
    > Hi,
    >
    > I am very new to vba/macros etc.
    > My problem: I receive many emails daily to which i need to click on a
    > hyperlink within a time limit to verify receipt of the email. It is very
    > tedious task to having to be on 'standby' to do this mundane task. I am
    > trying to setup a macro where when an email is received it automatically
    > clicks on the link for me. Is this possible?
    >
    > Thanks in advance,. Submitted using http://www.outlookforums.com


    I use the following code everyday to manipulate a web page. It is run as a
    vbs file, but I expect the code will be v. similar in outlook VBA:

    Yes it is,



    strUrl = "http://www.example.com" ' obviously you will have to parse the
    appropriate address out of your message body

    set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
    xmlhttp.open "GET", strurl, false
    xmlhttp.send ""
    strBody = xmlhttp.responseText
    set xmlhttp = nothing


    --
    John
    http://www.LbeHelpdesk.com - Help Desk software priced to suit all
    businesses
    http://www.room-booking-software.com - Schedule rooms & equipment bookings
    for your meeting/class over the web.
    http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
     
    Johnb, Feb 5, 2010
    #2
    1. Advertisements

  3. malemodel_75

    malemodel_75 Guest

    Hi John,

    Thank you for your reply. However, I am a very basic user and that code was all jargon to me. I am not sure what to change, how to change it and where to get the data.

    Looking further into the email messages, the link that I need to click is automatically generated with a unique order reference number. So I guess its not linked to i.e. www.example.com more like www.example.com/order123456

    Could you guide me via a step by step proceedure?

    Thanks a million,

    Dan.
    Submitted using http://www.outlookforums.com
     
    malemodel_75, Feb 5, 2010
    #3
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jonathan

    Hyperlink

    Jonathan, Jul 17, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    0
    Views:
    695
    Jonathan
    Jul 17, 2003
  2. Guest

    Unable to automatically click email hyperlink and start a new message

    Guest, Nov 20, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    1
    Views:
    209
    Sue Mosher [MVP]
    Nov 20, 2003
  3. Guest

    Getting the click event in a mailitem hyperlink

    Guest, Oct 12, 2004, in forum: Microsoft Outlook VBA Programming
    Replies:
    1
    Views:
    233
    Michael Bauer
    Oct 12, 2004
  4. Replies:
    2
    Views:
    570
    Guest
    Jun 5, 2007
  5. Michael Bauer [MVP - Outlook]

    Re: auto click hyperlink?!

    Michael Bauer [MVP - Outlook], Feb 15, 2010, in forum: Microsoft Outlook VBA Programming
    Replies:
    0
    Views:
    999
    Michael Bauer [MVP - Outlook]
    Feb 15, 2010
Loading...

Share This Page