I have written a macro in Excel to open a word-document as template, write some data from excel to word and print (the excel-user do not se word). Now I want to protect my word-document-template from being changed. But then I have problems with the automatic sequence, bacause it stops by asking for password/readonly.
The macro for opening word is:
Set wrd = CreateObject("Word.Application"
wrd.Documents.Add Template:="Dir\0274_0.doc",
NewTemplate:=False
Can anybody help this little task?
The macro for opening word is:
Set wrd = CreateObject("Word.Application"
wrd.Documents.Add Template:="Dir\0274_0.doc",
NewTemplate:=False
Can anybody help this little task?