image: Dropdown list in Word
Dropdown lists limit choice
R E L A T E D   C O N T E N T
ADVERTISEMENT

Hands on: Building with Word 2003

Remove private information and add some Word 2007 tricks to the 2003 version

Tim Nott, Personal Computer World 22 May 2008
ADVERTISEMENT

We have previously looked at Autotext in Word 2003 and earlier, and covered Word 2007’s Building Blocks.

Last time we looked at some of the Content Controls and ‘Click Here’ blocks you can use in Word 2007.

This time we’re going back to the less glamorous world of 2003 to see how you can use similar automation features.

As with many of Word 2007’s new features, there’s a lot of emphasis on presentation. Whereas the Galleries provide a quick way of adding all kinds of content, many of the features are there in earlier versions. Starting with the ‘Click Here’ boxes, there’s a quick way of doing this. First, you need to create a macro. Go to Tools, Macro, Macros, type in a name (let’s say, ‘Clickhere’) and click the Create button.

The VBA editing window will appear with the head and tail of ‘Sub Clickhere()’ plus a few lines of comment. This is all you need, so close the VBA editor. Now, in the document, choose Insert, Field, MacroButton and select your Clickhere macro from the list. In the ‘Display text’ box above the macro list, type in the prompt; eg, ‘Type your title here’.

OK to insert the field, then format it as you want, making sure you have the field results rather than code visible ­ right-click to toggle between the two. Save this in a template; you’ll find that all new documents based on the template will display the prompt. One click will select the entire prompt, and typing the real title will replace it.

For a more sophisticated and versatile method of adding ‘ready-to-go’ content to a template, you can use forms. Forms and their controls aren’t really as scary as they sound. It’s a bad choice of word ­ most of us associate forms with tax returns. So brace yourself, create a new template and turn on the Forms toolbar.

Starting with the simplest, the left-most button inserts a Text form field. This defaults to a four-character blank space ­ it helps if you turn on shading (eighth button from left). Right-click on this and select Properties, or select the field and press the Options button (fourth from the left in the Forms toolbar) and you’ll get a dialogue. The default is Regular Text and you can type the placeholder text in the box beside this.

Below this you can set a limit for the length and specify the case ­ upper, lower, first capital or title case. Below that you can specify macros to run when the user enters or exits the control ­ we’ll return to this another time. Make sure, however, that the ‘Fill-in enabled’ box is checked.


All Software Applications
Tags: 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
Welwyn Garden City, Hertfordshire, United Kingdom | Tesco.com
Infrastructure Delivery Project Manager - Welwyn Garden City Who's behind the world's most successful online retailer? Just over 10 years ago we started Tesco.com (aka Dotcom). Today, we've an incredible 750,000 active customers and sales ... more >
Cardiff, United Kingdom | University of Wales
Projects Officer - £26,665 - £30,912 - Cardiff The Projects Officer will work on specific projects under the direction of the Head of Information Services. It is expected that these will concentrate on the redevelopment ... 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 >
United Kingdom | Advent Computer Training
Are you stuck in a dead end job? Do you want to take control of your salary, life and career? Advent IT and computer training offers advanced, professional training and helps you find the right ... more >
More job opportunities