Thanks for the helper code. In the first code, how to add the code with just hyperlink.
For Eg: If ASA1234yy is the found pattern, it should be replaced with just ASA1234yy, but clicking on it should take me to www.code.com/ASA1234yy/xyz.
Also, am I copying the contents of the word...
I tried using Selection.WholeStory but it does not work. Can you provide me a sample code for the second option.
Also, do you have any idea, why the text when copied to outlook object loses its replaced hyperlink format while other changes remain intact in outlook object
Help on this is...
Sub IncomingHyperlink(MyMail As MailItem)
Dim strID As String
Dim Body As String
Dim objMail As Outlook.MailItem
Dim myObject As Object
Dim myDoc As Word.Document
Dim mySelection As Word.Selection
strID = MyMail.EntryID
Set objMail =...
I have written a code which replaces the text of certain format into a hyperlink. This code is invoked by a rule during an Incoming email.
Incoming email -> copy the email to word editor -> make necessary changes -> copy from word editor to outlook mail item(replaced hyperlinks gets lost in...
Initially I am trying to make this during the composition of an email message. After composing an email message, click the macro, get the hyperlinks automatically created.
As a first step, I want to know how to parse for text in VBA outlook?
Hi All,
I am trying to create a Macro in Microsoft Outlook 2007. Words contained in the email with the format 99XXXXYYY should have to be created to a hyperlink of the form www.macro.com/99XXXXYYY
The XXXXYYY can be anything. Please help me out on this.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.