LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default run macro automatically

what i am trying to do is set up a booby trap with an excel workbook s
that the critical worksheet will disappear when a macro is run. i hav
created the macro to accomplish this. what i need to know if there is
way using the date function and an "if" statement to have the macro ru
automatically when the condition is met.

eg: if today()20 june o4, then run the macro


is this possible, or is there another way to accomplish this. ideally
would like to have the option of changing the condition such a
entering a later date. this is for a program i designed on my own fo
work, but do not want others to be able to access it in certai
situations. hence the booby trap.

Pete

--
Message posted from http://www.ExcelForum.com

 
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
How do you do the following using VBA macro automatically? LunaMoon Excel Discussion (Misc queries) 1 May 4th 10 08:37 PM
Automatically Run macro Anift Setting up and Configuration of Excel 2 November 25th 06 02:52 PM
Automatically run a macro SheriTingle Excel Discussion (Misc queries) 2 July 12th 05 04:41 PM
Run macro automatically. Excel macro New Users to Excel 7 April 19th 05 04:01 PM
macro to run automatically Michael Bednarek Excel Programming 0 July 31st 03 09:20 AM


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