Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Sat Jul 30, 2005 5:40 am Post subject: HOWTO : Determine if an item is readonly or hidden. |
|
|
You should use the Attributes property of ListItem.
If item1.Attributes(Hidden) And Hidden then msgbox "Folder" else msgbox "File"
if item1.Attributes(ReadOnly) And ReadOnly then msgbox "Folder" else msgbox "File" |
|