theismanapp
Programmer
I have Access 2002 and Word 2002 on my computer. The word file is a template. The template includes text and some bookmarks. I need to password protect the document so that the users can oly enter data in specific areas of the form. I program access to open the template and fill in the data with specific information. When I click on the button to open word I get an error message saying
Run-time error '4605'
This method or property is not available because the object refers to a protected area of this document.
When I open the template up manually I can enter data.
Here is teh code I am using
.Documents.Open "C:\Documents and Settings\scotts\Desktop\ABBREVIATED_REPORT.dot", , , , , "test", , , "test"
What do I need to do to get it to work, The code works with the file being password protected
Thanks in advance
Run-time error '4605'
This method or property is not available because the object refers to a protected area of this document.
When I open the template up manually I can enter data.
Here is teh code I am using
.Documents.Open "C:\Documents and Settings\scotts\Desktop\ABBREVIATED_REPORT.dot", , , , , "test", , , "test"
What do I need to do to get it to work, The code works with the file being password protected
Thanks in advance