PC Review


Reply
Thread Tools Rate Thread

Can a min'zed wrkbk pop up an alert to the desktop w/o restoring the wrkbk?

 
 
Finny
Guest
Posts: n/a
 
      9th Nov 2006
I have a workbook that I keep date material in.
I am willing to have it open all day long to accomodate this but what I
want is for a window to pop up when a condition is met within the sheet
(e.g. a time of day is reached) without restoring the wrkbk.

Ideally the workbook does not have to be open but I realize that may be
asking a lot.

Thanks in advance.

Finn

 
Reply With Quote
 
 
 
 
=?Utf-8?B?QW5hbnQgQmFzYW50?=
Guest
Posts: n/a
 
      10th Nov 2006
Hi,

You can schedule a macro in Excel. In the following example, the macro runs
at 9:45 AM if Excel is open and is in ready mode. The OnTime method of the
Application object schedules "Macro1" to run at 09:45 AM. If you open this
file run this macro at say 7:30 AM and save/close the file but keep Excel
running, the file will automatically open at 9:45 and "Macro1" will run. You
can experiment with this idea a bit more to get the desired effect.

Sub ScheduleAMacro()
Application.OnTime TimeValue("09:45:00"), "Macro1"
End Sub

Sub Macro1()
MsgBox "It is time to run this macro."
End Sub

--
Anant


"Finny" wrote:

> I have a workbook that I keep date material in.
> I am willing to have it open all day long to accomodate this but what I
> want is for a window to pop up when a condition is met within the sheet
> (e.g. a time of day is reached) without restoring the wrkbk.
>
> Ideally the workbook does not have to be open but I realize that may be
> asking a lot.
>
> Thanks in advance.
>
> Finn
>
>

 
Reply With Quote
 
Finny
Guest
Posts: n/a
 
      10th Nov 2006
Thanks Anant, that is a cool function.
looking for the desktop alert...

Anant Basant wrote:
> Hi,
>
> You can schedule a macro in Excel. In the following example, the macro runs
> at 9:45 AM if Excel is open and is in ready mode. The OnTime method of the
> Application object schedules "Macro1" to run at 09:45 AM. If you open this
> file run this macro at say 7:30 AM and save/close the file but keep Excel
> running, the file will automatically open at 9:45 and "Macro1" will run. You
> can experiment with this idea a bit more to get the desired effect.
>
> Sub ScheduleAMacro()
> Application.OnTime TimeValue("09:45:00"), "Macro1"
> End Sub
>
> Sub Macro1()
> MsgBox "It is time to run this macro."
> End Sub
>
> --
> Anant
>
>
> "Finny" wrote:
>
> > I have a workbook that I keep date material in.
> > I am willing to have it open all day long to accomodate this but what I
> > want is for a window to pop up when a condition is met within the sheet
> > (e.g. a time of day is reached) without restoring the wrkbk.
> >
> > Ideally the workbook does not have to be open but I realize that may be
> > asking a lot.
> >
> > Thanks in advance.
> >
> > Finn
> >
> >


 
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
view 2 different worksheets within the Wrkbk =?Utf-8?B?dGZhbGw=?= Microsoft Excel Worksheet Functions 7 18th Jul 2006 04:25 PM
Is it possible to ref a cell in another wrkbk w/o having to name t =?Utf-8?B?aHpndDliQG5vcG9zdC5jb20=?= Microsoft Excel Programming 0 27th Apr 2006 09:47 PM
Mult. wrkbk copy, from cell reference sharpie23 Microsoft Excel Programming 0 27th Oct 2005 01:20 AM
BLOCK others from PRINTING a Wrksht or WrkBk =?Utf-8?B?dG53?= Microsoft Excel Misc 2 27th Feb 2004 03:03 AM
Wrkbk Protect w/o Dialog Box jeff_at_work Microsoft Excel Worksheet Functions 0 15th Jan 2004 07:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:57 PM.