Hi All,

For audit purposes need to be able to set a spreadsheet (data exported from Access database) to ReadOnly from code within database.
Just tried
SetAttr "C:\Myfile", vbReadOnly ' Set ReadOnly attribute

Not working, get run-time error '53' file not found

If anyone's done this before I'd love to hear how.