Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trapping Cut/Copy/Paste in Document

Status
Not open for further replies.

asjeff

Programmer
Oct 8, 2001
107
GB
Does anybody know how I trap the Cut/Copy/Paste functions in MS Word (Office 2000)? Any pointers appreciated. Basically I am trying to prevent users from copying text and pasting it into another document. The protect options dont seem to prevent this happening.
 
Hi,
Use PutInClipboard.
Code:
    Set MyData = New DataObject

    MyData.SetText ""
    MyData.PutInClipboard
Hope this helps :)
Skip,
metzgsk@voughtaircraft.com
 
Thanks Skip but I have just realised that I can do what I want through the Document Protect Forms password after all. Cheers for your help

Asjeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top