Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
returning comments propery of a closed file
Is there a way to return the comments property of a closed workbook?
(Without opening it) Bob |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
returning comments propery of a closed file
See http://www.cpearson.com/excel/DocProp.aspx for code details and a
required DLL available from Microsoft. Once you have downloaded and installed the DLL from MS, download http://www.cpearson.com/Zips/modDocumentProperties.zip from my DocProp page. Using that code, you can then do something like Sub AAA() Dim CommentString As String CommentString = ReadPropertyFromClosedFile("C:\Book1.xls", _ "Comments", PropertyLocationBuiltIn) Debug.Print CommentString End Sub See the DocProp page for full documentation and examples. Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2010 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Wed, 21 Oct 2009 15:46:45 -0400, "Robert Flanagan" wrote: Is there a way to return the comments property of a closed workbook? (Without opening it) Bob |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
returning comments propery of a closed file
Many thanks. Now to find the time to write the code....
Bob "Chip Pearson" wrote in message ... See http://www.cpearson.com/excel/DocProp.aspx for code details and a required DLL available from Microsoft. Once you have downloaded and installed the DLL from MS, download http://www.cpearson.com/Zips/modDocumentProperties.zip from my DocProp page. Using that code, you can then do something like Sub AAA() Dim CommentString As String CommentString = ReadPropertyFromClosedFile("C:\Book1.xls", _ "Comments", PropertyLocationBuiltIn) Debug.Print CommentString End Sub See the DocProp page for full documentation and examples. Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2010 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Wed, 21 Oct 2009 15:46:45 -0400, "Robert Flanagan" wrote: Is there a way to return the comments property of a closed workbook? (Without opening it) Bob |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
reading Comments in a closed file | Excel Programming | |||
Fetching Comments from a closed work book | Excel Discussion (Misc queries) | |||
Returning the number of comments in a workbook | Excel Programming | |||
Returning cellvalue from closed workbook using a function | Excel Programming | |||
Print Area propery | Excel Programming |