LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 279
Default Stopping a macro from executing after a length of time has past.

Hi
I made a game on an Excel spreadsheet that will automatically play one hand
after the other continuously.
I need it to automatically stop after playing a
certain number of hands and then you are unable to play any more.
This is all working fine.
The problem is, you are able to reload the original file from the
harddrive and play the same certain number of hands again and again.

How do I stop this (being able to reload the origanal file from the
harddrive and playing addional hands on the new copy)?

Or would it be easier to have the limiting factor be a certain number of
days (say after 5 days the game ceases to work, even when loaded into Excel
from the harddrive?).
The problem is stopping the macro (the one in the new copy that was newly
loaded from the harddrive) from executing.

Either way, how is it done?

Thankyou
Ed
 
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
Length of time from date/time custom format Andrew Excel Discussion (Misc queries) 2 September 21st 09 04:20 PM
Check if a time is past a certain time Savio Excel Discussion (Misc queries) 3 January 31st 09 10:21 PM
Stopping windows installer from popping up all the time Steve Excel Discussion (Misc queries) 0 January 19th 06 12:22 PM
Run-time error -2147319784 (80028018) when executing a simple macr Jean-Marc[_2_] Excel Programming 1 June 24th 05 05:44 PM
Need Help with executing a function based on time. Bcoop Excel Programming 1 October 5th 04 11:26 PM


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

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"