Auto click a hyperlink

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,.
Submitted using http://www.outlookforums.com
 
J

Johnb

malemodel_75 said:
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
 
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.
Submitted using http://www.outlookforums.com
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top