Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default ? ABTAIN FILE ATTRIBUTES WITH MACRO

Hi ,

is it possible to get an open excel file's attributes via macro e.g last
modified date or created date.

Thanks





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default ? ABTAIN FILE ATTRIBUTES WITH MACRO

See
http://www.mvps.org/dmcritchie/excel/properties.htm

and a similar page on Chip Pearson's site
http://www.cpearson.com/excel/topic.htm

Be aware that almost anything will cause the workbook to change
like volatile functions =TODAY()
and ask to be saved.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"SUNIL" wrote in message ...
Hi ,

is it possible to get an open excel file's attributes via macro e.g last
modified date or created date.

Thanks







  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default ? ABTAIN FILE ATTRIBUTES WITH MACRO

Sunil,

Yes it is.

Look at BuiltinDocumentProperties in VBA Help.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"SUNIL" wrote in message
...
Hi ,

is it possible to get an open excel file's attributes via macro e.g last
modified date or created date.

Thanks







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
Data value display attributes linked to table attributes MDT at Paragon Home Inspections, LLC Charts and Charting in Excel 0 November 15th 06 12:53 AM
Getting NTFS file attributes Kiran Excel Discussion (Misc queries) 1 August 4th 05 08:13 PM
File Attributes dsti3 Excel Discussion (Misc queries) 1 February 10th 05 05:51 AM
File Attributes / Save As New File Name Paul Moles[_2_] Excel Programming 2 November 7th 03 03:57 PM
syntax of changing file attributes M K W Excel Programming 0 August 26th 03 02:47 PM


All times are GMT +1. The time now is 01:35 AM.

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"