Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Can a min'zed wrkbk pop up an alert to the desktop w/o restoring the wrkbk?

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Can a min'zed wrkbk pop up an alert to the desktop w/o restoring t

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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Can a min'zed wrkbk pop up an alert to the desktop w/o restoring t

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
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 I copy formulas from 1 wrkbk to another w/o absolute refs Mike Excel Discussion (Misc queries) 1 September 25th 06 04:48 PM
view 2 different worksheets within the Wrkbk tfall Excel Worksheet Functions 7 July 18th 06 04:25 PM
Is it possible to ref a cell in another wrkbk w/o having to name t [email protected][_2_] Excel Programming 0 April 27th 06 09:47 PM
Mult. wrkbk copy, from cell reference sharpie23 Excel Programming 0 October 27th 05 01:20 AM
Wrkbk already open by whom? ajliaks[_46_] Excel Programming 0 August 23rd 05 08:35 AM


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