F
Fruber Malcome
Is there a way to open a document as a template - that has a password.
For example:
If I open this file using the _thisApplication.Documents.Add() - it does
exactly what I want - but it prompts me for a password, I would like to
supply this behind the scenes.
If I open this file using the _thisApplication.Documents.Open() - it opens
the file without prompting for the password (since I was able to provide
it) - but it doesn't open it as a new document.
I tried:
Word.WdOpenFormat.wdOpenFormatTemplate
but that didn't open it as a new document.
Any ideas?
thanks - Fruber
For example:
If I open this file using the _thisApplication.Documents.Add() - it does
exactly what I want - but it prompts me for a password, I would like to
supply this behind the scenes.
If I open this file using the _thisApplication.Documents.Open() - it opens
the file without prompting for the password (since I was able to provide
it) - but it doesn't open it as a new document.
I tried:
Word.WdOpenFormat.wdOpenFormatTemplate
but that didn't open it as a new document.
Any ideas?
thanks - Fruber