Rename it by right clicking on it and selecting Properties.Open the Control toolbox and drag a command button to the form.Item.Body = Now() & vbCrLf & vbCrLf & Item.BodyĪfter entering the code, close the code window. The View Code button is in the Form section. In Outlook 2007 and up, first show the Developer ribbon (File or Office icon, Options), then from the Developer ribbon, choose Design this form. Then from the View menu, choose View code.Select the Tools menu, Forms, Design this form.In a new Outlook 2003 or older, open a form then: Item.Body = Format(Now(), "mmm d, yyyy h:nn AM/PM") & vbCrLf & vbCrLf & Item.Body ' Item.Body = Date & vbCrLf & vbCrLf & Item.Body Instructions to use a macro and add it to the ribbon or Quick Access Toolbar well as screenshots are at How to use the VBA Editor The macro can either add just the date at the top of the body field or the date and time. It will work with any open Outlook item, you just need to put the macro on the Quick Access Toolbar or ribbon. This method uses just a macro, not a command button the form. It also doesn't work well with contacts in Outlook 20 since editing the first page of the form reverts the form to the older Outlook contact form (as in the screenshot below). Note that the custom forms method doesn't work well with Appointment forms since you can't change the first page of the form. See the Tools section below for add-ins that you can use instead. (Home or Page Up jumps to the top entry on the list while End or Page Down jumps to the bottom.) If that is still too many steps, you can use a macro to insert the date and time. To insert other formats, use the arrow keys to select them, then press Enter. It's not bad if you use the keyboard shortcuts: Alt+N, D, Enter will insert the date and time format you have set as default. One complaint about the Insert Date & Time command is that it is too many steps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |