Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Popping out Message Box!

Hello Again!

Can we pop out a message box as a reminder in excel when a certain condtion
is triggered? Say A1=14-Sep-09 and B1=today(). Since, B1 has exceeded A1 so a
message box as a reminder would pop out to alert.

Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Popping out Message Box!

You could put something like this in C1:

=IF(B1A1,"ALERT","")

Not the same as a message box, but you get the idea - the alternative
is to have a macro to do that for you.

Hope this helps.

Pete

On Sep 15, 11:18*am, deepak wrote:
Hello Again!

Can we pop out a message box as a reminder in excel when a certain condtion
is triggered? Say A1=14-Sep-09 and B1=today(). Since, B1 has exceeded A1 so a
message box as a reminder would pop out to alert.

Thanks in advance.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 267
Default Popping out Message Box!

With Worksheets("sheet1")
If .Range("B1").Value .Range("A1").Value Then
Dim Res As Long
Res = MsgBox("Reminder date has expired")
Cancel = Res < 6

End If
End With

"deepak" wrote:

Hello Again!

Can we pop out a message box as a reminder in excel when a certain condtion
is triggered? Say A1=14-Sep-09 and B1=today(). Since, B1 has exceeded A1 so a
message box as a reminder would pop out to alert.

Thanks in advance.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Popping out Message Box!


HI Atishoo!

The COde worked out. But the problem is the message box pops out again and
again whenever there is a mouse click or TAB key is pressed. Is there a way
that the message box pops out once and after we clik on ok it doesnot pop out?
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 267
Default Popping out Message Box!

I presume you must have put the sub in as a selection change event!
Id put it in to trigger on workbook open if that is an appropriate interval!

Alternatively I think I would be tempted not to bother with the message box
and use conditional format to turn the cell red when the date is superceeded.

"deepak" wrote:


HI Atishoo!

The COde worked out. But the problem is the message box pops out again and
again whenever there is a mouse click or TAB key is pressed. Is there a way
that the message box pops out once and after we clik on ok it doesnot pop out?

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
Why does the research box keep popping up? John of Romsey Town Excel Discussion (Misc queries) 2 April 3rd 23 07:39 PM
How to stop message popping up before open the excel? jenhu Excel Discussion (Misc queries) 2 August 3rd 06 02:02 PM
Clipboard Keeps Popping Up Cincy Excel Discussion (Misc queries) 1 July 5th 06 10:14 PM
"Cannot empty clipboard" message keeps popping up Amy Excel Discussion (Misc queries) 2 March 16th 06 06:52 PM
broken links message still popping up GJR3599 Excel Discussion (Misc queries) 1 March 30th 05 01:36 PM


All times are GMT +1. The time now is 09:33 AM.

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"