Recently, I have been using GMail as my primary e-mail client. It’s simple to use, lightweight, fast and powerful. One feature I particularly like is the Archive button, which lets me clear messages out of my inbox with a single click. Instead of letting e-mails clutter up my inbox just in case I need them again, I can archive them as soon as I’ve read them. Fewer items in my inbox makes it easier to focus and prioritize tasks, which in turn makes me more productive.
In the high-pressure environment at work, where I frequently receive up to a hundred or so e-mails a day, everything I can do to make my life easier helps. Here is how I added an Archive button to Microsoft Outlook:
- Make a new folder in Outlook called Archive.
- Open the macro editor under Tools > Macros > Visual Basic Editor.
- Open ThisOutlookSession under Project1 in the Project Explorer window at the left side of the screen.
- Paste the following code:
Folder = Inbox.Folders(FolderName)
& FolderName &
"' folder doesn't exist!"
vbOKOnly + vbExclamation,
- Save and close the editor.
Now the archive macro has been created. Let’s add a button that will trigger it:
- Click on View > Toolbars > Customize, and select the Commands tab.
- Scroll down to the Macros category.
- Drag the Project1.ThisOutlookSession.ArchiveSelected command to a toolbar.
- Right-click on your new button, and rename it to Archive Selected. Set it to display Text Only.
- Click Close.