R E L A T E D   C O N T E N T
ADVERTISEMENT

Hands On: Set a default date in Word

How to play the dating game

Tim Nott, Personal Computer World 09 Jun 2008
ADVERTISEMENT

We've looked before at various ways of inserting dates into Word documents.

To recap briefly, if you use Insert, Date with the Automatically Update box unticked the current date or time will appear as unchanging text ­ just as if you had typed it in.

With the Update box checked, then a date field is inserted instead, which will update to the current date or time automatically when the document is saved, printed or re-opened or if the field is manually updated.

Usually, say when writing a letter, you don’t want this to happen, but there’s a neat way to get the best of both worlds.

Select Insert, Field, (in 2007, Insert, Quick Parts, Field) and choose CreateDate, then save as a template.

All documents based on that template will appear with the creation date of the document (ie the date or time the document was first saved) rather than that of the template.

Although the creation date is a field, it won’t ever change.

One useful trick in Word is that you don’t have to choose a date and time format every time you insert a date. You can select any of the available formats and click the Default button. Next time you insert a date, this format will be pre-selected, though you can override this by selecting a different format.

Openoffice Writer offers similar facilities in a more roundabout way. If you Insert, Fields, Date, you’ll get a plain dd/mm/yy (eg 11/06/08) date that will stay fixed.

For more options, go to Insert, Fields, Other, turn to the Documents tab, and select Date from the list on the left. In the middle column you’ll find a choice of Date and Date (fixed) that corresponds to the Word ‘Automatically Update’ option, and in the right column a wide choice of formats.

There’s also an intriguing ‘Offset’ option where setting this to 1 will produce the next day’s date, and -1 the previous day, and so on. If you don’t see what you want in the list of formats, scroll down to the bottom of the list and choose ‘Additional Formats…’.

This produces another dialogue giving a slightly longer list, but you also get the opportunity to design your own formats ­ with comments ­ and add them to that list. If you press the Help button you’ll find you can use week numbers, weekday names, quarters, eras and so on.

What isn’t present is a way of setting the default date or time format ­ Insert, Fields, Date always produces the dd/mm/yy style. One way round this is to start the macro recorder, insert the date in the required format as above, then stop the macro recorder. Writer will prompt you to name and save the macro, so you could call this ‘Today’ and save it in My Macros, Standard. Having done that, go to Tools, Customise, Menus.

Choose the Insert Menu, then click the Add button. In the ‘Add Commands’ dialogue, choose ‘OpenOffice.org Macros’, and navigate down until your Today macro appears in the right-hand pane.

Click Add, close the ‘Add commands’ dialogue, OK out of the Customise dialogue and your Today macro will be on the top level of the Insert menu, giving you the date in the format you recorded. You can also use the Customise dialogue to put the macro on a toolbar or assign a key combination.


All Software Applications
Tags: Software, Microsoft, Word, Word-processing

Like this story? Spread the news by clicking below:

Post this to Delicious del.icio.us    Post this to Digg Digg this    Post this to reddit reddit!

Permalink for this story
R E A D E R   C O M M E N T S
M A R K E T P L A C E
Get your free demo of Numara Track-It! 8 - the leading help desk solution for IT related issues.
Make presentations, review documents & share your entire desktop. 30-day free trial! (cc required).
Discover how remote support can fuel your IT business in ways you've never thought of before.
Apply ITIL best practices at your service desk while eliminating integration cost. Learn more here.
WAN based, automated, daily vulnerability assessments. Click here to try and request our whitepapers.
Have your product or service listed here >   
Sponsored links
F E A T U R E D   J O B S
United Kingdom | University of east anglia
WEB DEVELOPER £22,332 to £27,466 per annum (Grade 6), with agreed progression to £28,290 to £33,780 (Grade 7). Pay award pending from October 2008. We are looking for an experienced Web Developer to join a ... more >
Aylesbury, Buckinghamshire, United Kingdom | Grass Roots
SQL Database Administrator - Aylesbury - £DOEGrass Roots are one of the Sunday Times Top 100 companies to work for (2007 and 2008). Established in 1980, we're part of the Grass Roots Group, which is ... more >
Aylesbury, Buckinghamshire, United Kingdom | Grass Roots
Business Analyst - £35,000 - £50,000 + benefits - Aylesbury  Grass Roots are one of the Sunday Times Top 100 companies to work for (2007 and 2008). Established in 1980, we're part of the Grass ... more >
United Kingdom | Ofgem
IT Network and Security Engineer £40,000 per annum The Office of Gas and Electricity Markets (Ofgem) is the regulator for Britain's gas and electricity industries. Our role is to protect consumers and enable them to ... more >
More job opportunities