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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top