Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default BuiltInDocumentProperties...some no workee

Hi All........
In Excel 97SR2, I'm having trouble bringing up some of the items in the
BuiltInDocumentProperties collection....specifically, "Last Print Date",
"Last Save Time", "Total Editing Time", and "Number of Bytes". Is this
ordinary? Are there any workarounds for any of these items?

TIA
Vaya con Dios,
Chuck, CABGx3


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 415
Default BuiltInDocumentProperties...some no workee

Yes, with Excel 2000 I get errors on "Last Print Date", "Total Editing Time"
and some others. (But "LastSaveTime" works and "Last Print Date" may fail
because the file has never been printed, not sure.)
IIRC, those properties are Office wide and not all applied to every app.
Obviously "Number of words", "Number of lines", "Number of paragraphs",
"Number of slides" etc, do not make much sense in an Excel environment,
although "Total editing time" does.

You may try the DSO way on the closed file to see you get any different
results.
http://www.microsoft.com/downloads/d...DisplayLang=en

NickHK

"CLR" ...
Hi All........
In Excel 97SR2, I'm having trouble bringing up some of the items in the
BuiltInDocumentProperties collection....specifically, "Last Print Date",
"Last Save Time", "Total Editing Time", and "Number of Bytes". Is this
ordinary? Are there any workarounds for any of these items?

TIA
Vaya con Dios,
Chuck, CABGx3




  #3   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default BuiltInDocumentProperties...some no workee

Hi Nick..........
Thanks for the response. I think the DSO thing is a little beyond me right
now. I mainly just need to identify the filesize of the open workbook at
this time. I'm making a LogSheet that records each time the file is opened,
by whom, etc, and I would like to include the current filesize each time if
possible.

Vaya con Dios,
Chuck, CABGx3



"NickHK" wrote:

Yes, with Excel 2000 I get errors on "Last Print Date", "Total Editing Time"
and some others. (But "LastSaveTime" works and "Last Print Date" may fail
because the file has never been printed, not sure.)
IIRC, those properties are Office wide and not all applied to every app.
Obviously "Number of words", "Number of lines", "Number of paragraphs",
"Number of slides" etc, do not make much sense in an Excel environment,
although "Total editing time" does.

You may try the DSO way on the closed file to see you get any different
results.
http://www.microsoft.com/downloads/d...DisplayLang=en

NickHK

"CLR" ...
Hi All........
In Excel 97SR2, I'm having trouble bringing up some of the items in the
BuiltInDocumentProperties collection....specifically, "Last Print Date",
"Last Save Time", "Total Editing Time", and "Number of Bytes". Is this
ordinary? Are there any workarounds for any of these items?

TIA
Vaya con Dios,
Chuck, CABGx3





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 415
Default BuiltInDocumentProperties...some no workee

OK, I thought you could do that with a worksheet formula; one of the Info(),
Cell() or macro4 GET calls, but I can't find anything now.
However, it's easy enough to write your own ;

Public Function GetMyFileSize() As Long
GetMyFileSize = FileLen(ThisWorkbook.FullName)
End Function

then call it from the a cell or use in your VBA code.

NickHK

"CLR" ...
Hi Nick..........
Thanks for the response. I think the DSO thing is a little beyond me
right
now. I mainly just need to identify the filesize of the open workbook at
this time. I'm making a LogSheet that records each time the file is
opened,
by whom, etc, and I would like to include the current filesize each time
if
possible.

Vaya con Dios,
Chuck, CABGx3



"NickHK" wrote:

Yes, with Excel 2000 I get errors on "Last Print Date", "Total Editing
Time"
and some others. (But "LastSaveTime" works and "Last Print Date" may fail
because the file has never been printed, not sure.)
IIRC, those properties are Office wide and not all applied to every app.
Obviously "Number of words", "Number of lines", "Number of paragraphs",
"Number of slides" etc, do not make much sense in an Excel environment,
although "Total editing time" does.

You may try the DSO way on the closed file to see you get any different
results.
http://www.microsoft.com/downloads/d...DisplayLang=en

NickHK

"CLR" ...

Hi All........
In Excel 97SR2, I'm having trouble bringing up some of the items in the
BuiltInDocumentProperties collection....specifically, "Last Print
Date",
"Last Save Time", "Total Editing Time", and "Number of Bytes". Is
this
ordinary? Are there any workarounds for any of these items?

TIA
Vaya con Dios,
Chuck, CABGx3







  #5   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default BuiltInDocumentProperties...some no workee

COOL.....that helped a heap.

Thank you much, kind Sir!

Vaya con Dios,
Chuck, CABGx3



"NickHK" wrote:

OK, I thought you could do that with a worksheet formula; one of the Info(),
Cell() or macro4 GET calls, but I can't find anything now.
However, it's easy enough to write your own ;

Public Function GetMyFileSize() As Long
GetMyFileSize = FileLen(ThisWorkbook.FullName)
End Function

then call it from the a cell or use in your VBA code.

NickHK

"CLR" ...
Hi Nick..........
Thanks for the response. I think the DSO thing is a little beyond me
right
now. I mainly just need to identify the filesize of the open workbook at
this time. I'm making a LogSheet that records each time the file is
opened,
by whom, etc, and I would like to include the current filesize each time
if
possible.

Vaya con Dios,
Chuck, CABGx3



"NickHK" wrote:

Yes, with Excel 2000 I get errors on "Last Print Date", "Total Editing
Time"
and some others. (But "LastSaveTime" works and "Last Print Date" may fail
because the file has never been printed, not sure.)
IIRC, those properties are Office wide and not all applied to every app.
Obviously "Number of words", "Number of lines", "Number of paragraphs",
"Number of slides" etc, do not make much sense in an Excel environment,
although "Total editing time" does.

You may try the DSO way on the closed file to see you get any different
results.
http://www.microsoft.com/downloads/d...DisplayLang=en

NickHK

"CLR" ...

Hi All........
In Excel 97SR2, I'm having trouble bringing up some of the items in the
BuiltInDocumentProperties collection....specifically, "Last Print
Date",
"Last Save Time", "Total Editing Time", and "Number of Bytes". Is
this
ordinary? Are there any workarounds for any of these items?

TIA
Vaya con Dios,
Chuck, CABGx3








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
Syntax to address ThisWorkbook.BuiltinDocumentProperties via Access Automation? [email protected] Excel Discussion (Misc queries) 0 June 24th 08 01:29 AM
BuiltInDocumentProperties CLR Excel Programming 7 May 25th 06 09:20 PM
BuiltinDocumentProperties Joop[_2_] Excel Programming 2 August 17th 03 11:28 AM


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