Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 129
Default Getting folder size information into cell???


Hello,

I can't seem to figure out how to get folder size information into an excel
spreadsheet cell. I have the filer/server location information in one cell
and I'd like to use the information within that cell to extract the
folder/directory size and populate another cell. I can't seem to figure out
how to go about this? Any suggestions and/or solutions (if any) would be
greatly appreciated.

Please bear in mind, I'm a noob with this excel programming. ;-)

Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Getting folder size information into cell???

strFolder = "C:\temp"
Set fso = CreateObject _
("Scripting.FileSystemObject")
Set folder = _
fso.GetFolder(strFolder)
FolderSize = folder.Size
Range("A1") = folderSize
"Will" wrote:


Hello,

I can't seem to figure out how to get folder size information into an excel
spreadsheet cell. I have the filer/server location information in one cell
and I'd like to use the information within that cell to extract the
folder/directory size and populate another cell. I can't seem to figure out
how to go about this? Any suggestions and/or solutions (if any) would be
greatly appreciated.

Please bear in mind, I'm a noob with this excel programming. ;-)

Thank you.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
document information from folder Joe Excel Discussion (Misc queries) 0 March 15th 10 06:33 PM
Font Information for a cell with multiple color and size Pred Excel Programming 1 June 29th 07 02:20 AM
Folder information md Excel Discussion (Misc queries) 2 December 15th 06 02:40 PM
Folder Size Andibevan[_2_] Excel Programming 3 June 1st 05 03:42 PM
Reading information from all workbooks in a folder... H. Rye Excel Programming 2 January 2nd 04 02:55 PM


All times are GMT +1. The time now is 05:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"