PC Review


Reply
Thread Tools Rate Thread

Clear Contents at 5PM daily

 
 
=?Utf-8?B?bmV3Z3V5QTE0?=
Guest
Posts: n/a
 
      13th Apr 2007
Hi, I need a macro to run at 5 pm daily to clear out the days notes on a
shared workbook. Each worker has a notation page, cell B6. All of them are
B6, all B6 cells except for the front page called "Note Tracker" need
cleared. Should I run an OnTime macro to clear these, and how do i set it
for a clock time rather than a delay interval. Also, If no one is using this
program at the time, will these clear. I need it to clear even if no one is
accessing the program at the time, when it is on the server. Should this
Macro be put under General or should it be on each sheet?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      13th Apr 2007
Maybe Cuck's site will help:

http://www.cpearson.com/Excel/ontime.htm
 
Reply With Quote
 
merjet
Guest
Posts: n/a
 
      13th Apr 2007
If you look up OnTime in the VB Editor's Help, there is an example for
5 PM.

Hth,
Merjet


 
Reply With Quote
 
merjet
Guest
Posts: n/a
 
      13th Apr 2007
P.S. As best I know, the workbook must be open for the procedure to
work.

Hth,
Merjet


 
Reply With Quote
 
=?Utf-8?B?bmV3Z3V5QTE0?=
Guest
Posts: n/a
 
      13th Apr 2007
Yah, I looked at this before and didn't really understand it. I'm just a
college kid working in an office, given this job to do. I haven't had any
classes in Excel, I've just taught myself what i know. I simply didn't
understand the code on this page, and don't know how it would apply to my
problem?
Can anyone give me the 411 on these lines, and how they could apply to my
problem?

"JLGWhiz" wrote:

> Maybe Cuck's site will help:
>
> http://www.cpearson.com/Excel/ontime.htm

 
Reply With Quote
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      13th Apr 2007
When using the OnTime method, you need to be aware that it uses your computer
time as the trigger mecanism for running the code. If your computer time is
wrong, the code will run at the wrong time. There is the possibility of the
time being affected by power outages if the computer backup battery is weak
or needs replacement.

"newguyA14" wrote:

> Hi, I need a macro to run at 5 pm daily to clear out the days notes on a
> shared workbook. Each worker has a notation page, cell B6. All of them are
> B6, all B6 cells except for the front page called "Note Tracker" need
> cleared. Should I run an OnTime macro to clear these, and how do i set it
> for a clock time rather than a delay interval. Also, If no one is using this
> program at the time, will these clear. I need it to clear even if no one is
> accessing the program at the time, when it is on the server. Should this
> Macro be put under General or should it be on each sheet?

 
Reply With Quote
 
Chip Pearson
Guest
Posts: n/a
 
      14th Apr 2007
> Maybe Cuck's site will help:

Who's Cuck?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting LLC
www.cpearson.com
(email on the web site)

"JLGWhiz" <(E-Mail Removed)> wrote in message
news1FFB428-BA89-483E-83B3-(E-Mail Removed)...
> Maybe Cuck's site will help:
>
> http://www.cpearson.com/Excel/ontime.htm



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a flag function in Access that can auto clear daily? mcf747 Microsoft Access Queries 1 11th Jun 2008 12:30 PM
Contents of range to move daily =?Utf-8?B?RGF2aWQgUC4=?= Microsoft Excel Misc 11 30th Mar 2007 01:44 AM
Macro to clear range contents when cell contents are changed by us =?Utf-8?B?U3RldmUgRQ==?= Microsoft Excel Programming 12 22nd Feb 2007 09:09 PM
Saving All of outlook an its contents daily =?Utf-8?B?c2FtYm8=?= Microsoft Outlook Discussion 1 21st Jun 2005 04:28 AM
Saving contents of a Web page daily SJ Windows XP Internet Explorer 0 1st Jul 2004 07:06 PM


Features
 

Advertising
 

Newsgroups
 


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