Derek,
In the vbawrd8.hlp file. Look at the Open() method you can specify the password as 4 or the arguments. The SaveAs() method also allows password specification.
>I am using createobject to create an instance of Word, into which I'm sending data from VFP5. This document is printed and saved by the user. However the user should be able to view these documents at a later date, but should not be able to edit them.
>
>Does anyone know the syntax for programatically setting the password option in the Word document itself, as I create the Word object.
>
>These documents are of a highly sensitive nature, so it is important to protect these documents from other people outside of the company, not just the users.