Word documents and templates from ip address - TechRepublic
Question
January 23, 2013 at 09:30 AM
slayer_

Word documents and templates from ip address

by slayer_ . Updated 13 years, 4 months ago

I’m having an issue with Word security.

This line of code
wrd.Documents.Add Template:=strDestination, NewTemplate:=True, DocumentType:=wdNewBlankDocument, Visible:=True

Executed from a VB6 program errors when strDestination is an IP address UNC path. (example: “\\192.168.1.100\documents\code.dot”)
Word won’t let me add this as a safe zone, saying that IP addresses can’t be safe.

Does anyone know how I can fix this? By code or setting in word or in Windows?

I am trying to search google but I am getting very bad search results so far.
I have already tried setting macro security to off but it didn’t help.

Any help would be appreciated, thanks.

This discussion is locked

All Comments