Search OutlookPower's 9,596 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
The strange case of Outlook losing notes and requiring passwords
Why I'm choosing to stick with Outlook 2007
Three ways to avoid email distraction and take back control of your time
Twenty ways to use email to commit career suicide
The two most motivational words in the English language
Diagnosing corrupted email headers
Email offenders
OutlookPower News Center
New Filing Assistant from Allometa
Dropbox bridges gaps in Microsoft's mobile sync
SmartBear Software Releases AQtime 7.0 Pro
6 Super Wi-Fi Tools for Windows
Microsoft Revives Windows 7 Family Pack Discount
Microsoft releases FixIt for critical flaw in 100 apps
M-Files Cloud Vault Easy, Hosted Document Management
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Smartphone smarts for a mobile world
David Gewirtz Online: CNN commentary and analysis
DominoPower: It's time for Lotus to double-down on Linux and open source
-- Advertisement --

Centrally managed library houses boilerplate template for repetitive person-to-person email
COPY-and-PASTE from SENT ITEMS is a crude approach to repetitive email tasks, yet we all do it at times. Now, a slick online alternative saves time for senders, assures brand consistency, and greatly improves the quality of outgoing written communications. This service is built around a powerful integrated mail-merge functionality and is super easy for users and administrators. Use it internally, with home-based employees, or externally with dealers, distributors, service-reps, etc.

Learn more and try our LIVE DEMO.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
The Power Magazine for Microsoft Outlook and Exchange Users at OutlookPower.com
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Outlook is a trademark of Microsoft Corporation.
Editor's Login