PC Review


Reply
Thread Tools Rate Thread

Copy the "Title" Field from windows explorer to excel?

 
 
andrew.ewing@gmail.com
Guest
Posts: n/a
 
      30th Jun 2006
Im trying to copy the "title" field along with the "filename" into
excel. Im able to copy the filename field via a batch file using the
Dir command, but it doesnt allow you to copy the other fields that are
in the explorer window. Is there a a way to do this?

Thanks in advance

 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      30th Jun 2006
I tend to use the Scripting FileSystemObject to get this sort of
info. In VBA, go to the Tools menu, choose References, and select
"Microsoft Scripting Runtime". Then, use code like

Dim FSO As Scripting.FileSystemObject
Dim F As Scripting.File
Set FSO = New Scripting.FileSystemObject
Set F = FSO.GetFile("H:\Test.txt")
Debug.Print F.Path
Debug.Print F.Name
Debug.Print F.Size
' other attributes of F

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Im trying to copy the "title" field along with the "filename"
> into
> excel. Im able to copy the filename field via a batch file
> using the
> Dir command, but it doesnt allow you to copy the other fields
> that are
> in the explorer window. Is there a a way to do this?
>
> Thanks in advance
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete "Windows Internet Explorer" from title bar Puma Microsoft Frontpage 6 14th Dec 2007 12:43 AM
DO NOT include field "Title" in the name column in "To" search =?Utf-8?B?Um9iIEcu?= Microsoft Outlook Contacts 7 3rd May 2006 08:47 PM
What field in the contact area is the "Title" field in memo style? =?Utf-8?B?T2ZmaWNlIENvb3JkaW5hdG9yLCBQSFg=?= Microsoft Outlook Contacts 0 29th Dec 2005 11:29 PM
PDF "Title" and "Comments" field retrieval George Sew Microsoft ASP .NET 2 12th Feb 2004 06:49 PM
Windows Explorer refuses to copy "My Documents" folder fabio Windows XP Customization 0 7th Nov 2003 05:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:58 PM.