Newsgroups: microsoft.public.scripting.vbscript
From: Jeremy <Jer...@discussions.microsoft.com>
Date: Wed, 4 Nov 2009 21:41:02 -0800
Local: Thurs, Nov 5 2009 5:41 am
Subject: Problem with recursion and objfolder.size
1l The purpose of the following script is to return attributes of subfolders
into an Excel spread sheet. The way it is now, it only gives the attirbutes for the root folder. I know I need to add a for...next. I just don't know what to put after the for. 2. I get a permissions error with the objfolderf.size line, but not with Any suggestions please? -------------------------------- 'Section 1 - Excel Stuff intRow = 2 objExcel.Cells(1, 1).Value = "Date Created" 'Section 2 - Find folder Attributes Set objFSO = CreateObject("Scripting.FileSystemObject") 'For each objFolder in objFSO.GetFolder objExcel.Cells(intRow, 1).Value = objFolder.DateCreated 'Next You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||