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

Tim Nott, Personal Computer World 22 May 2008

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

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
| Aston Carter
C#, GUI Developer – Fixed Income – Investment Bank. My client is seeking a strong C# ASP.Net developer to join their Fixed Income area and operate within one of the top tier investment banks in ... more >
| Computer People
Technical Project Manager / SDLC West London, £75k - (Software Development, SDLC), RUP Serious opportunity for hands on Technical Project Manager to join a leading blue chip organisation based in an easily accessible area of ... more >
| Computer People
C# Developer - Nottingham 4 Month Contract Market Rates I have an exciting opportunity for a C# ASP.NETDeveloper working for an established client within Computer People. Working from their offices in Nottingham you’ll be providing ... more >
| JAM Recruitment
Job Ref: AS/20356/TAX Package: c£60,000.00 + Bonus + Benefits Location: Middlesex Job type: International Assignment / Global Mobility / Expatriate Tax Manager Position type: Permanent Hours: Full-time Contact name: Andy Shaw Contact Company: JAM Mobility ... more >
More job opportunities