I'm not quite sure what you mean by runtime in this context; could you elaborate a little?
Enjoy,
Tony
-------------------------------------------------------------------------------------------- We want to help you; help us to do it by reading this: Before you ask a question.
Sorry for the delay in getting back to you. I have an application which produces word documents (using templates) which are sent out to our clients. Some documents (because of certain business rules) are not to be sent out but they have still to be produced. Currently I put a message in the header and footer sayin they have not to be sent. I would really like to put a water-mark on these docs.
A watermark is just a graphic anchored in the header so if you already have logic to write to all the headers, instead of writing messages, just insert the picture.
To get some basic code to use as a starting point you can record yourself doing it but be aware that, in 2002 and 2003, built-in watermarks are handled in an unusual way not entirely accessible from VBA.
You might actually find it easier to put the watermark in the template and then delete it when you don't want it rather than add it when you do,
Enjoy,
Tony
-------------------------------------------------------------------------------------------- We want to help you; help us to do it by reading this: Before you ask a question.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.