Hi,
I wonder if anybody has a bit of code which will confirm if an excel spreadsheet is read-only.
I need this to check a file before I import data from it. If somebody is in said spreadsheet when the import is attempted it causes an error on the upload.
If I could somehow check if a file was read-only before the import was attempted, this would save a lot of hassle!
Cheers
Paul
I wonder if anybody has a bit of code which will confirm if an excel spreadsheet is read-only.
I need this to check a file before I import data from it. If somebody is in said spreadsheet when the import is attempted it causes an error on the upload.
If I could somehow check if a file was read-only before the import was attempted, this would save a lot of hassle!
Cheers
Paul