One of my users whats to put a “hyperlink” in her workbook that if she clicks on it is should take her to the email. Are there any functionality already built in to do this.
TIA
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Email Message in Excel (Excel 2003)
If Excel is set to convert internet and network paths to hyperlinks in the AutoFormat As You Type tab of Tools | AutoCorrect Options (see screenshot), an e-mail address such as bill@microsoft.com will automatically be converted to a hyperlink that will create a new message to the e-mail address.
Hi Mario,
Yes you can, with certain limitations. To link to a message with subject ‘Vista: The Saga Continues’ in my Inbox, I would choose Insert-Hyperlink from the menu and then enter in the address field:
exactly as it appears here. You have to include the <
and >
symbols and you precede the item subject with ~
If you have more than one item with the same subject, you will get the first one. You can get round this if you can get the EntryID by using:
HTH
You can select an item in the Inbox (without opening it), press Alt+f11 to open the VBEditor, then Ctrl+G to goto the Immediate window, then type:
?activeexplorer.Selection.Item(1).entryid
and it should return something like:
000000002D7C90DFCF850D41826F36B496DBBEF807006774116D4FC45B4B97DFA8C81AE83108000000F686EC00006774116D4FC45B4B97DFA8C81AE83108000001F9FF210000
If you want to do items in subfolders, just include the entire path in the link – e.g.:
Outlook:Inbox/Personal/~Message subject>
HTH
Now redundant, but see post 481,271.
Open the Visual Basic Editor
Select Tools | References…
Locate Microsoft Forms 2.0 Object Library in the list and tick its check box.
Click OK.
VBA should now recognize DataObject.
BTW you should put the code in a standard module (created by Insert | Module in the Visual Basic Editor).
It’s a standard library, there’s an easy way to get it set: in the VBE select Insert | UserForm, and the library reference will be added automatically for you. Then right click on the blank userform you just created, and remove it. Or, the long way, select Tools | References | Browse, and browse to it at ‘c:windowssystem32FM20.dll’ (some installations use ‘winnt’ instead of ‘windows’).
Francis, I don’t see where Rory showed the Method to get the folder path. To get the exact folder path, for items use:
ActiveInspector.CurrentItem.Parent.FolderPath
and for folders use:
ActiveExplorer.CurrentFolder.FolderPath
These can be used in the Intermediates window (preceded by ‘?’), and you can see how they are used as alternatives in the code in post 481271.
Not sure where to find a master list of dlls used in reference libraries, I usually find them by Googling as needed. I’m also not sure why yours aren’t readily available, but you might try going through your Office installation via the Control Panel | Add or Remove Programs | Microsoft Office | Change | Add or Remove features, and making sure you have added all the VB related setup options.
Note that links to items in your personal PST will not be available to other users. For this reason it may be better to save the Outlook message to disk, then embed it into the spreadsheet as an object. (In cases where you are responding to some management request, and want to be able to show all users that you did something because the CFO told you to! )
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications