#1   Report Post  
mjh
 
Posts: n/a
Default Spreadsheet End Date

Can I write something into a spreadsheet so that it will only work for a set
period of time?

TIA

Michele
  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Try this in the Thisworkbook module
It will only work if the user Enable the macro's

Private Sub Workbook_Open()
If Date DateSerial(2005, 1, 22) Then ThisWorkbook.Close False
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl



"mjh" wrote in message ...
Can I write something into a spreadsheet so that it will only work for a set
period of time?

TIA

Michele



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
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM
Date issue between Windows and Macintosh version dlg1967 Excel Discussion (Misc queries) 4 January 19th 05 03:51 PM
Detecting Oldest Date On Spreadsheet Keiron James Keeble Excel Discussion (Misc queries) 3 January 19th 05 01:09 AM
How do I stop today() from updating date on saved spreadsheets? lionmark Excel Discussion (Misc queries) 2 January 4th 05 01:03 AM
Problem with Date format from VBA code twig Excel Discussion (Misc queries) 3 December 7th 04 06:01 PM


All times are GMT +1. The time now is 11:11 PM.

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"