prevent copy and past of document

A

albatros

please, do anyone have a macro to block/unblock copying and paste of
document?

I am using microsoft word 2000

thanks for any help I can get
albatro
 
H

Helmut Weber

Hi,
you could intercept both these commands:
Sub editcopy()
MsgBox "editcopy"
End Sub
Sub editpaste()
MsgBox "editpaste"
End Sub
If you put them in a module of a document,
they should work only for this document.
But I doubt, whether that would fulfill
all your expectations.
 
A

albatros

Thanks for your indication which I found very useful and the wior on the
document where I applyed.
Maybe , if it is not to much trouble for you, you have a solution to
disable the also the cursor in the document

Thanks a lot
Albatros
 
H

Helmut Weber

Hi,
I think, you are on the wrong track.
If you want to prevent changing of a document,
copying and pasting parts of it also,
you need Adobe Acrobat and create a PDF-File.
---
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
 
H

Howard Kaikow

Helmut beat me to it, but I'd like to add, what's the point of trying to
prevent copy and paste in Word?
One can always bypass such mechanisms.
 
H

Helmut Weber

Hi Howard,
that is always the crucial point,
whether it is better to answer a question or
to try to find out, what someone really wants
to achieve and what that would be good for...
I don't know.
If someone wants to overwrite copy and paste, well...
think of "The Sorcerer's Apprentice".
Have a nice day.
---
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
 

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