Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
XP XP is offline
external usenet poster
 
Posts: 389
Default Has file EVER been saved?

What is the best method for determining if the currently open file has EVER
been saved?

I know it would not be prudent to do so, but a user could potentially be in
an unsaved template named like "Test.xls" and when saved would look like
"Test.xls.xls" right?

If so, this invalidates looking for a period or xls in the file name to
determine its save status...believe me, a couple of my users are not beyond
this...

Thanks much for your assistance.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default Has file EVER been saved?

Hi,

If the workbook has never been saved, ThisWorkbook.Path will be empty.


Hope this helps,
JP


On Oct 19, 5:20 pm, XP wrote:
What is the best method for determining if the currently open file has EVER
been saved?

I know it would not be prudent to do so, but a user could potentially be in
an unsaved template named like "Test.xls" and when saved would look like
"Test.xls.xls" right?

If so, this invalidates looking for a period or xls in the file name to
determine its save status...believe me, a couple of my users are not beyond
this...

Thanks much for your assistance.



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
Number Format on Excel File saved from .html file joyfulone Excel Discussion (Misc queries) 3 April 15th 09 12:07 AM
Saved *.csv file gives SYLK file type warning upon Excel 2003 open Tom Excel Discussion (Misc queries) 5 March 19th 08 03:15 PM
How to tell number of spaces between values in saved text file fromthe original xls file [email protected] Excel Discussion (Misc queries) 1 January 15th 08 11:52 AM
why is absolute hyperlink in XLS file changed when file is saved SusanJ Excel Discussion (Misc queries) 3 August 17th 07 02:24 AM
To get client data from a saved file back to the master file Darmac54 Excel Discussion (Misc queries) 0 August 18th 05 03:29 AM


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