word template best practice

A

Aaron

We need to create a word template that "forces" formatting. For example say
we want the body of a letter to be times new roman 12 and if a user is
pasting in Arial 16 content from another doc it will automatically adjust to
TNR 12. We have achieved this by using text form boxes and protection.
However we don't want to roll it out because it's inconvenient for the user
to highlight the form field for a paste or triple click it. It seems the
only way the protection and force works is if the form area is highlighted.
Is there anyway around this?

Is there a better way to "force" formatting in a word template rather than
use text form boxes and protection?
 
S

Suzanne S. Barnhill

If all users are using Word 2003, then you can restrict available styles by
enforcing a different kind of protection.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
G

Graham Mayor

A simple approach is to add a macro to paste the text as unformatted and
thus it will paste to match the target location.

Sub PasteUnfText()
On Error GoTo oops
Selection.PasteSpecial _
DataType:=wdPasteText, _
Placement:=wdInLine
End
oops:
Beep
End Sub

You could even intercept the paste command *in the template* to change the
way paste behaves.

Sub EditPaste()
On Error GoTo oops
Selection.PasteSpecial _
DataType:=wdPasteText, _
Placement:=wdInLine
End
oops:
Beep
End Sub

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
A

Aaron

Thanks. Does that mean the user would have to use "paste special" for it to
work?
 
G

Graham Mayor

Yes - or use the macro. The second macro runs when you paste normally.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top