Auto click a hyperlink

  • Thread starter malemodel_75
  • Start date Views 4,184
Status
Not open for further replies.
M

malemodel_75

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,.
 
J

Johnb

"malemodel_75" <malemodel_75[at]yahoo[dot]com> wrote in message

news:u5TbKIdpKHA.1556@TK2MSFTNGP05.phx.gbl...
> 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,.


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
 
M

malemodel_75

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.
 
Status
Not open for further replies.
Top