Search OutlookPower's 8,351 Outlook and all-things-email article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
THIS WEEK'S POWERTIP
Adding a date stamp to the notes field
By Diane Poremsky

Users often complain about features that are lacking from Outlook's default forms. Many people would like the ability add a date stamp to the notes field and I'm going to show you how easy it is to do.

Begin by opening the Forms Designer, either from the Tools | Forms | Design A Form menu in the main Outlook window or from an open form, using Tools | Forms | Design This Form. If you can't find the Forms menu in an open message, you're using Word as your email editor.

The first thing you'll notice about forms in design mode is that it has dotted grid lines, which make it easier to position controls on the forms. The Form and Layout menus, Control Toolbox and Field Chooser will have many of the options you'll use when designing forms. You'll use Form | Run This Form often, since it's used every time you want to test the form. For this reason, you may want to put the Run This Form on a toolbar to save time. Customize the toolbar the same way you do in all the Office products, by right clicking on a menu and choosing Customize.

When the form of your choice is opened in design mode, select View | View Code to open the Script Editor.

In the Script Editor window, enter the following lines of code.

Sub StampDate()
Item.Body = Now() & vbCrLf & vbCrLf & Item.Body
End Sub

Sub CommandButton1_Click()
Call StampDate()
End Sub

You can close the Script Editor, although it's not necessary, since the form and the code can be tested with the window open. You can change the location of the date by rearranging the position of NOW(), Item.Body and vbCrLf in the code.

Once you've entered the code, open the Control Toolbox--represented by the hammer and wrench icon on the toolbar. Click on the CommandButton icon, it looks like a button and is usually the last one in the second row. Decide where you want to place the button on the form and click again. Rename the button by right clicking on it and selecting Properties. Type "Today's Date" in the Caption field and click the OK button to close the properties dialog.

Now it's time to test the form. Use Run This Form from the Forms menu to open a copy of the form then click on the command button and the current date is entered into the notes field. Congratulations, you created a custom form.

You have two options for saving the custom form, either use the File | Save menu and save the form as a template or use the Tools | Publish Form menu to publish it in an Outlook folder. To make the form easier to find and use, you can copy the template from the Windows file system to a folder in Outlook (create a folder called Templates) or drop a shortcut to the template on your Outlook bar. When you publish forms to a folder, they are listed on the actions menu when you are in that folder.


1  ·  2  ·  Next »
Other articles you might like
Home > Using Outlook > Using Forms (3 articles)
   Working with Outlook forms: customize or use as-is?
   Importing custom data into Outlook
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent OutlookPower Articles
Can Outlook run when it's not running (and other mysteries)?
Exploring the dark side of social networks
How not to screw up when you send email
How to separate email accounts and still manage them
How to convert a PST file from an old format to a new format
Visnetic MailFlow can automate your organization's mail processing
How to make Outlook launch an app at a specific time?
OutlookPower News Center
Touch in Windows 7: Just for show?
Windows XP User: I'm No Thief
Windows 7 May Get Family Pack Discount
Microsoft Unleashes Five Service Packs for Its Enterprise Security Wares
Give an Old Desktop New Life
Europe won't pay more for Windows 7. Really!
IT wish list for SharePoint 2010: Keep it simple
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
DominoPower: What to look for in a Domino-based document management solution
-- Advertisement --

ONLINE GROUP CALENDAR - FOR UP TO 100 OF YOUR CLOSEST FRIENDS
Stay organized and in control with 24/7 access to all of your important events, projects and files --whether you're at work, at home or on the road.

You can share your calendar, projects and files so everyone in your office is up to date. Plus, search your entire group to find times when everyone is available to meet, manage company resources and much more.

Organize your entire team for as low as $9.95 per year (and yes, that's where the decimal place is supposed to be!)

Tap here to get started right away.

-- Advertisement --

BECOME CONFIDENT AND PRODUCTIVE WITH OUTLOOK 2007 IN SIX WEEKS
You can become a confident, productive user of Outlook 2007 in six weeks.

The Introduction to Outlook 2007 online course makes it happen in just twelve short lessons. The course features an instructor-led online discussion forum, regular assignments and quizzes, printable class notes, and a certificate of completion.

Learn more, then register today, at http://www.ed2go.com/courses/io7.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
The Power Magazine for Microsoft Outlook and Exchange Users at OutlookPower.com
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Outlook is a trademark of Microsoft Corporation.
Editor's Login