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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting 'Draft' stamp into Word doc from VB

Status
Not open for further replies.

chindas

Programmer
May 18, 2006
14
ES
Hi guys again,

I need to insert a typical 'Draft' stamp in a Word document, from Visual Basic, under some conditions

The first option to consider was using Bookmarks, but I don´t like that solution, i.e., inserting a bookmark called Draft in the original document, and later from the code in VB, filling it up with a 'Draft' string in the Word's BeforePrint object event.. But when the user finishes printing, the Draft stamp still remains, and the user could save the doc with the stamp inside..

Any other ideas?
 
I don't really understand your problem because anything you add could be saved in the document. That wouldn't necessarily be a bad thing as the draft status would stay utnil formally removed.
An alternative would be to use 'Draft' as a watermark
instead of the bookmark. That's easy to add or remove.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top