Can you automatically prevent styles pasting into a document when copying.

K

Kate Pascoe

In Word 97, When you copy text from one document to
another the style will also be copied. Can you
automatically prevent a style coming from the source that
is not already in the destination document. I know you can
paste as unformated text but need a way to stop the novice
from bring unwanted styles into a template by accident.
 
S

Shauna Kelly

Hi Kate

In Word 97 there is no built-in way to achieve what you want. It can be done with some programming in VBA.

However, Word 2003 does offer this facility. You can restrict users to a particular set of styles, and if they try to paste text in
any other style, Word pastes it as Normal style.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
Melbourne, Australia
 
A

Alex

Hi Kate

Depending on the template user, I sometimes insert this
VBA module into the template.

Sub EditPaste()
Dialogs(wdDialogEditPasteSpecial).Show
End Sub

It simply replaces the paste function with the paste
special function.


Warning at first it will annoy the hell out of the
template users, but now I actually get users complaining
when I don't include this option.

Hope it helps

Alex
-----Original Message-----
Hi Kate

In Word 97 there is no built-in way to achieve what you
want. It can be done with some programming in VBA.
However, Word 2003 does offer this facility. You can
restrict users to a particular set of styles, and if they
try to paste text in
 
M

Mary Gudobba

I put a button on the toolbar to paste, special, unformatted text. I made
an icon for it that looks like the paste button, but the little page is
blank. Sometimes you want to paste with formatting, sometimes you don't.
 

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