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