Opening a web URL that points to PDF file...

  • Thread starter Jeffery B Paarsa
  • Start date
J

Jeffery B Paarsa

Hi,

Doesn't searching the email body and picking up the URL by setting up a
Rules and Alert in Outlook and executing a Script relates to Outlook or not?
If not please you let me where does it relate to? Before executing a VBA
Script in outlook how can I do anything else?
 
J

Jeffery B Paarsa

Hello,

If it does not relate to Rules and Alert of Outlook to execute a VBA script
for searching and selecting the URL from the body of the email, then please
tell me where does it belong and relate to? How can I do anything else
before I ran a VBA Script?
 
K

Ken Slovak - [MVP - Outlook]

As you never mentioned anything about emails, searching email bodies or
anything else related to Outlook, how is anyone to guess what your intended
question?

In your first post you said you had an URL and wanted to open it not in a
browser but in an invisible window, whatever that is.

At this point I'm still not sure what you're asking. Are you asking how to
parse out an URL from the body of an email? What exactly are you trying to
do? Please explain clearly and state your Outlook version.
 
J

Jeffery B Paarsa

Hello,

I am trying to parse emails and pick up the URL inside of the body and
execute a program say Adobe Acrobat or customized program/scripts...
 
K

Ken Slovak - [MVP - Outlook]

I have no idea about automating Adobe Acrobat so I can't answer that. I
still don't know exactly what you're doing but there isn't a lot of time to
find out as this newsgroup is being closed by MS today probably.

If you already have an email object you can get the HTMLBody property, which
provides you a string value. You can then use string processing functions to
find an url in the text string. You can search for "www" or "http" to find
an url, you can also look for the HTML "href=" string that indicates that an
url is coming next.
 

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