LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Expiry of Excel shee


Simon Lloyd;290349 Wrote:
If you feel it may help others then please tell us what your solution
was. if a particular post was helpful then click the thumbs up on that
post....in future a post marked helpful may help others in your
situation.


Glad we could be of help!


*How To Say Thanks!*
If you have found my tip helpful then please click on the
button (like the one on the left) to the bottom right of my post to
register your appreciation


I Found this
Option Explicit
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As
Long)
Private Sub Workbook_Open()
Dim wks As Worksheet
If Time = "00.00.10" Then
Sleep 10000
MsgBox "Trial period has expired please call John Doe", vbOKOnly,
"Trial Period Expired"
For Each wks In ActiveWorkbook.Worksheets
wks.Cells.ClearContents
Next wks
ThisWorkbook.Close (True)
End If
End Sub

Hardeep kanwar


--
hardeep.kanwar
------------------------------------------------------------------------
hardeep.kanwar's Profile: http://www.thecodecage.com/forumz/member.php?userid=170
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=80570

 
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
Auto deletion of excel file after a certain date - expiry Som Excel Discussion (Misc queries) 7 March 20th 09 09:59 AM
Expiry of MS Excel file Som Excel Discussion (Misc queries) 15 March 14th 09 03:27 AM
how do i set up an expiry date in an Excel worksheet AR Voice Excel Worksheet Functions 2 June 6th 05 10:22 PM
How can I enter information in a different cell in one Excel shee. haynblend Setting up and Configuration of Excel 2 March 29th 05 11:51 PM
How to make aging possible in Excel for an age trial balance shee. Anne L Excel Discussion (Misc queries) 3 March 20th 05 05:31 PM


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

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"