Word 2000 VB fs.Copyfile

P

Peter Faulhaber

Hello all,

In VBA Word2000 I use the macro fs.copyfile <target>, < destination> to copy
a file.

When the file is ReadOnly it wouldn't work (?). So I copy the file, without
Read Only, but in the destination folder I want the file to be Read Only (via
VBA Word 200).

any suggestions??
 
K

Karl E. Peterson

Peter said:
In VBA Word2000 I use the macro fs.copyfile <target>, < destination>
to copy a file.

When the file is ReadOnly it wouldn't work (?). So I copy the file,
without Read Only, but in the destination folder I want the file to
be Read Only (via VBA Word 200).

any suggestions??

Take a look at the SetAttr method.
 
Top