>Hi everybody!
>
>Please, could you tell me how to protect(setting a password automatically) within a Sheet and a entire Book (in MS Excel) and a document (MS Word) that was created by a VFP command?...
oExcel.ActiveWorkbook.Password = "Whatever"
oWord.ActiveDocument.Password = "Whatever"
--sb--