Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Getting File property info with code?

Hi Everybody!

Does anyone know if a property or function exists within the Excel 97 Object
Model to retrieve file property info? i.e. from Windows explorer if you
right-click an (excel) file and select "properties" from the pop-up menu; a
window appears with a bunch of tabs. I'm interested in the "Summary" tab in
particular to interrogate properties such as "Author", "Title", "Subject",
etc...

Thanks for any help!
Sam


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Getting File property info with code?

Hi,

You can retrieve these properties in an opened workbook by using the
BuiltinDocumentProperties property of the Workbook object.
See BuiltinDocumentProperties Property in the help file for more info.

If you want to retrieve these properties from a closed workbook you need a
dll from Microsoft - DSO file.
This is the only way to access these properties from a closed file.
It is available for download - please see this link.

http://support.microsoft.com/default...NoWebContent=1

HTH
/Ulrik



"debartsa" wrote in message
...
Hi Everybody!

Does anyone know if a property or function exists within the Excel 97

Object
Model to retrieve file property info? i.e. from Windows explorer if you
right-click an (excel) file and select "properties" from the pop-up menu;

a
window appears with a bunch of tabs. I'm interested in the "Summary" tab

in
particular to interrogate properties such as "Author", "Title", "Subject",
etc...

Thanks for any help!
Sam




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Getting File property info with code?

Thanks for your help Ulrik!


"Ulrik Gustafsson" wrote in message
...
Hi,

You can retrieve these properties in an opened workbook by using the
BuiltinDocumentProperties property of the Workbook object.
See BuiltinDocumentProperties Property in the help file for more info.

If you want to retrieve these properties from a closed workbook you need

a
dll from Microsoft - DSO file.
This is the only way to access these properties from a closed file.
It is available for download - please see this link.


http://support.microsoft.com/default...microsoft.com:
80/support/kb/articles/Q224/3/51.asp&NoWebContent=1

HTH
/Ulrik



"debartsa" wrote in message
...
Hi Everybody!

Does anyone know if a property or function exists within the Excel 97

Object
Model to retrieve file property info? i.e. from Windows explorer if you
right-click an (excel) file and select "properties" from the pop-up

menu;
a
window appears with a bunch of tabs. I'm interested in the "Summary" tab

in
particular to interrogate properties such as "Author", "Title",

"Subject",
etc...

Thanks for any help!
Sam






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
loop through code and refernce text file for info Sabosis Excel Discussion (Misc queries) 1 September 21st 11 01:40 AM
Windows Visible Property - Code Help Gerry O Excel Discussion (Misc queries) 2 September 6th 07 02:44 AM
VBA Code For OR-Function Using Cell Property kylie Excel Discussion (Misc queries) 1 June 20th 06 02:42 AM
BackColor property code Joe Mathis Excel Programming 3 December 9th 03 04:11 PM
Inefficient VBA Code - Worksheets Property Don Guillett[_4_] Excel Programming 0 July 23rd 03 08:00 PM


All times are GMT +1. The time now is 11:18 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"