Question : Word Digital Signature Question

I have a document which I am creating through automation with a Visual Basic 6 program and needs to be digitally signed.  I have a checkbox on the document which the user is supposed to click in order to digitally sign the document.  My problem is when the goes to click on the sign checkbox he gets a warning that says "This document may contain text and pictures that are not visible in the current view.  Word will change view options so that all text and images are visible.  Do you want to continue signing without reviewing the document?"  This occurs in the VBA code statement Signatures.Add. Do any of the experts on here know what this is caused by and how to avoid getting this warning?  Also when creating the document with the VB6 program I programmicattly delete sections of the document could this be what is causing the problem? Any help would be greatly appreciated.
Thanks,
Greg

Answer : Word Digital Signature Question

To avoid the error this might work.  

When creating the document programmicattly, be sure to have your view set to page layout.

give it a shot!

/M
Random Solutions  
 
programming4us programming4us