Spreadsheet End Date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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

TIA

Michele
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top