Outlook item link

Status
Not open for further replies.

Gfm

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server
I have a procedure in Outlook VBA to create a link.

Sub ItemLink2Clipboard()
Dim URL As String
Dim DataToSave As New DataObject
Dim mySel As Outlook.Selection
Dim myItem As Object
Set mySel = Application.ActiveWindow.Selection
Set myItem = mySel(1)
URL = URL & "Outlook:" & myItem.EntryID
DataToSave.SetText URL
DataToSave.PutInClipboard
End Sub

Then in OneNote i paste the Content of the clipboard and I get for instance a Hyperlink looking like:
Outlook:00000000268CCAB90266E1489A47A7509148E3A407007F720E9B044BF04DAA23945ED50C8AC300000000010C00007F720E9B044BF04DAA23945ED50C8AC300005A8DEBFF0000

In OneNote i can then modify the Hyperlink to present the same link as e.g.
Test
I would like to put the Hyperlink into the clipboard complete with the link and the subject as the text to show.

Can someone please help me.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
A Run-time error '430' on certain emails when trying to set "Outlook.mailitem" as "ActiveExplorer.Selection.Item" Outlook VBA and Custom Forms 2
T Pictures degrade each time an Outlook item is edited and re-saved Using Outlook 1
P Outlook 2013 "Item could not be moved - still an issue for Outlook 2013 Using Outlook 0
T outlook.com opens with "item not found" Using Outlook 1
M Shortcut to another outlook item Using Outlook 0
M VBA to change flag status in outlook contact item Outlook VBA and Custom Forms 3
T outlook 2010 mail item count doesnt match display Outlook VBA and Custom Forms 3
Diane Poremsky Display the Created Date field of any Outlook item New Slipstick.com Articles 0
Diane Poremsky Outlook VBA: Work with Open Item or Selected Item New Slipstick.com Articles 0
M How does Outlook determine item numbers in a folder? Outlook VBA and Custom Forms 3
N Adding Appointment Item in Outlook to Shared Calendar Folder Outlook VBA and Custom Forms 7
M Outlook displays "choose folder" for each sent item. Using Outlook 2
A Outlook VBA - moving mail item to public folder using variable within path Using Outlook 6
M Outlook Appointment Item exceeds beyond the date range Using Outlook 2
M Outlook Appointment item does not show the item outside the date range Using Outlook 2
M outlook recurring item stucks me. :( Exchange Server Administration 1
P Outlook 2007 - Missing Calendar Item Using Outlook 4
P Outlook 2007 - Missing Calendar Item Using Outlook 1
D Outlook 2010 - Advanced Find - No Status Bar = No Item Count Using Outlook 2
P Archiving function and menu item disappeared in Outlook 2007 Using Outlook 2
A "Item could not be found" error when attempting to send Outlook 2007 calendar event update Using Outlook 2
M Cannot display the folder. Outlook cannot open this item. The item may be damaged. __ Using Outlook 1
G Outlook 2010: Cannot Open Item Error; and Operation Failed Error when replying!! Using Outlook 2
R Outlook 2003: Insert, Item: Unable to insert an old email into a new email Using Outlook 2
H Outlook Delegate gets "Can't open this item." when clicking on invites that she was the originator o Using Outlook 2
A Outlook 2010 trying to create calendar/task entries generates error "Could not save item.The connect Using Outlook 2
A Outlook 2010 trying to create calendar/task entries generates error "Could not save item.The connect Using Outlook 1
O Item won't delete out of Deleted Items in Outlook.... Using Outlook 2
C Outlook VBA - Create Macro Move Contact field Item to Another Using Outlook 1
P Outlook folder path changing automatically when move or delete Item from custom task folder which is installed in Exchange 2010 sared mailbox Using Outlook 1
T Outlook 2010 Closes the Window When I Click "Next Item" (Down Arrow) Using Outlook 2
M Outlook 2007 and 'Save sent item To' Other Folder Using Outlook 1
B outlook 2010 is not saving sent mail in sent items folder and sometimes after appearing in sent item Using Outlook 1
V MS Outlook 2007 sent items disappear in Sent Item Folder Using Outlook 11
E Attach Item within Body of a Message in Outlook 2007 Using Outlook 1
D Outlook 2007 Display Sent item not correctly Using Outlook 1
F Outlook 2007 Calendar shows 1 new item but there are no new items Using Outlook 4
H Deleted items from IMAP account in Outlook 2007 disappear! How do I route them back to "Deleted Item Using Outlook 5
M Outlook 2010 - Scheduling Assistant issue, "Cannot open this item" Using Outlook 1
M Outlook 2000 wizard tries to start when I right-click to email an item from a folder--have Outlook 2007 upgrade installed Using Outlook 1
B Sending item shown in another program to an Outlook Contact Using Outlook 2
R Why couldn't I see open share calender item or share my calendar item in my outlook account? Using Outlook 3
P Need Help with outlook rule marking item as read Using Outlook 4
B Outlook 2007 calendar item disappear Using Outlook 3
J Outlook 2010 Can't Open Item error Using Outlook 4
D All Accounts Send/Receive Group does not download complete item after upgrading to Outlook 2010 Using Outlook 2
B Paste Shortcut to an Outlook Item Using Outlook 1
R In Office 2010, after reading and closing an email item, how do I tell Outlook to move to the previous item in the folder? Using Outlook 1
M Outlook 2007 – Insert Item dialog box shortcomings detected Using Outlook 1
D Outlook 2010 - Cannot open this item: Unknown Error Using Outlook 1
Similar threads


















































Top