Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine if file is READONLY or not. 1

Status
Not open for further replies.

steve728

Programmer
Mar 16, 2003
536
US
With VBA, how do I determine if a file's attribute is set to ReadOnly or not. I know how to reset it already but now need to know how to determine it's status. I'm sure it has something to do with: FILE_ATTRIBUTE_READONLY = 0. Please show me a code sample so I can do my work.

thanks in advance,

Steve728
 
Yup! I found it and used it immediately!

Thanks again. I gave you a star.

Steve728
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top