Re: Macro for Word

Subject: Re: Macro for Word
From: "Edgar D' Souza" <edgar -dot- b -dot- dsouza -at- gmail -dot- com>
To: "Marne Cales" <Marne -dot- Cales -at- brandes -dot- com>
Date: Wed, 9 Aug 2006 11:27:39 +0530

On 8/8/06, Marne Cales <Marne -dot- Cales -at- brandes -dot- com> wrote:

I've been asked to create a Macro for Word that will, when the user opens a new document, ask if the document is 'Internal' or 'Confidential', and based on the user's need, will insert the appropriate footer. Is this even possible? I've managed to create a macro that will insert a footer and even added a toolbar button, but I can't seem to come up with a way to actually have a dialogue box that asks the user which footer he needs, and insert one based on his answer.

As Geoff notes, you'd need to have any such macro stored in
(or another template on which all your users base their documents).
Storing it in is not exactly a good idea. One reason is
that deleting and allowing Word to create a fresh one is
one of the ways to stop Word behaving crazily, which it does at times

Is it possible for you to sidestep the issue by providing two document
templates (one each for Internal & Conf) which already contain the
necessary footers/headers, including graphics ("Draft" or
"Confidential" watermark images), as required? And getting the company
to mandate that one of these be used to create the new document if it
is one of your two special classes?


WebWorks ePublisher Pro for Word features support for every major Help format plus PDF, HTML and more. Flexible, precise, and efficient content delivery. Try it today!

Easily create HTML or Microsoft Word content and convert to any popular Help file format or printed documentation. Learn more at

You are currently subscribed to TECHWR-L as archive -at- infoinfocus -dot- com -dot-
To unsubscribe send a blank email to techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit

To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit for more resources and info.

Macro for Word: From: Marne Cales

Previous by Author: Re: How to display graphics clearly on screen and on print?
Next by Author: Re: Macro for Word?
Previous by Thread: Re: Macro for Word?
Next by Thread: RE: Font

What this post helpful? Share it with friends and colleagues:

Sponsored Ads