LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default macro to show File Comments property

i know how to access the comments for the curent active workbook. what I am
trying to do is to create an index listing all ofthe files in the current
folder and subfolders and list certain file properties for each file. I
already have the name, created date, modified date and path. I would like
to add the file comments to the
set of properties. I am using the FindFirstFile and FindNextFile functions
to obtain the properties of the files in the folder.


"Gord Dibben" wrote:

Without seeing your code, perhaps you can add this statement in somewhere.

ActiveWorkbook.BuiltinDocumentProperties("Comments ")

Will return the FileProperty Comments.


Gord Dibben MS Excel MVP

On Mon, 5 Jan 2009 15:35:01 -0800, TomH
wrote:

These examples work with comments within the current workbook.

the comments I am trying to access are those that you see when you examine
the properties of a file (the files in windows explorer) and look in the
"Comments" block.

"ryguy7272" wrote:

I'm not exactly sure what you have there, but this may help:
http://www.contextures.com/excelfiles.html#Comments
http://www.contextures.com/xlcomments03.html#Number

Or, maybe this:
http://www.contextures.com/xlcomments03.html


HTH,
Ryan---

--
RyGuy


"TomH" wrote:

I have a set of macros that runs a recursive search on the current directory
and creates an index of that directory.

Curently it shows the file name, extension, creation date, modified date and
the relative path for the file.

I would also like it to show the information (if any) in the Comments field
of the File Properties window, but cannot determine how to obtain this
information during the "find file" process.

Thanks in advance



 
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
How do I get my macros from an XLA file to show in Tools Macro Harlan Grove[_2_] Excel Worksheet Functions 0 June 28th 09 11:34 PM
How do I get my macros from an XLA file to show in Tools Macro smartin Excel Worksheet Functions 0 June 28th 09 10:48 PM
Can you check a show modal property jc Excel Programming 6 October 6th 08 12:07 PM
Tools/Customize question - toggle Show/Hide Comments without a macro [email protected] Excel Programming 2 January 21st 08 08:59 PM
Change property of comments only Martin[_21_] Excel Programming 4 September 29th 05 04:29 PM


All times are GMT +1. The time now is 04:09 PM.

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

About Us

"It's about Microsoft Excel"