Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Pop up message

Hello All,

I am looking to create a popup warning notification macro when a cell
is changed. I would like it to say something like this: Please be
advised that this amount does not include blah blah blah amount. Does
anyone know how to create this Macro?

Thanks so much

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Pop up message

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
On Error GoTo stoppit
Application.EnableEvents = False
If Target.Address = "$A$2" And Target.Value < "" Then
MsgBox " Please be advised that this amount does not include blah blah amount."
End If
stoppit:
Application.EnableEvents = True
End Sub

Right-click on the sheet tab and "View Code"

Copy/paste the above event code into that sheet module.

Adjust the cell range to suit.

On Wed, 13 Jun 2007 13:53:21 -0700, wrote:

Hello All,

I am looking to create a popup warning notification macro when a cell
is changed. I would like it to say something like this: Please be
advised that this amount does not include blah blah blah amount. Does
anyone know how to create this Macro?

Thanks so much


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Pop up message

On Jun 13, 5:18 pm, Gord Dibben <gorddibbATshawDOTca wrote:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
On Error GoTo stoppit
Application.EnableEvents = False
If Target.Address = "$A$2" And Target.Value < "" Then
MsgBox " Please be advised that this amount does not include blah blah amount."
End If
stoppit:
Application.EnableEvents = True
End Sub

Right-click on the sheet tab and "View Code"

Copy/paste the above event code into that sheet module.

Adjust the cell range to suit.



On Wed, 13 Jun 2007 13:53:21 -0700, wrote:
Hello All,


I am looking to create a popup warning notification macro when a cell
is changed. I would like it to say something like this: Please be
advised that this amount does not include blah blah blah amount. Does
anyone know how to create this Macro?


Thanks so much- Hide quoted text -


- Show quoted text -


I am very very new to this. Can you go into more detail as to what to
do? thanks so much

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Pop up message

Other than right-click on the sheet tab and select "View Code".

Copy/paste the event code into that sheet module.

As written, when you make a change in A2 the message will pop up.

What assistance do you require?

Do you need a different or larger range or an entire column or row or??

You need to provide a few questions about what more you require before I can
provide more detail.


Gord

On Wed, 13 Jun 2007 14:52:16 -0700, wrote:

On Jun 13, 5:18 pm, Gord Dibben <gorddibbATshawDOTca wrote:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
On Error GoTo stoppit
Application.EnableEvents = False
If Target.Address = "$A$2" And Target.Value < "" Then
MsgBox " Please be advised that this amount does not include blah blah amount."
End If
stoppit:
Application.EnableEvents = True
End Sub

Right-click on the sheet tab and "View Code"

Copy/paste the above event code into that sheet module.

Adjust the cell range to suit.



On Wed, 13 Jun 2007 13:53:21 -0700, wrote:
Hello All,


I am looking to create a popup warning notification macro when a cell
is changed. I would like it to say something like this: Please be
advised that this amount does not include blah blah blah amount. Does
anyone know how to create this Macro?


Thanks so much- Hide quoted text -


- Show quoted text -


I am very very new to this. Can you go into more detail as to what to
do? thanks so much


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Pop up message

On Jun 13, 6:31 pm, Gord Dibben <gorddibbATshawDOTca wrote:
Other than right-click on the sheet tab and select "View Code".

Copy/paste the event code into that sheet module.

As written, when you make a change in A2 the message will pop up.

What assistance do you require?

Do you need a different or larger range or an entire column or row or??

You need to provide a few questions about what more you require before I can
provide more detail.

Gord



On Wed, 13 Jun 2007 14:52:16 -0700, wrote:
On Jun 13, 5:18 pm, Gord Dibben <gorddibbATshawDOTca wrote:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
On Error GoTo stoppit
Application.EnableEvents = False
If Target.Address = "$A$2" And Target.Value < "" Then
MsgBox " Please be advised that this amount does not include blah blah amount."
End If
stoppit:
Application.EnableEvents = True
End Sub


Right-click on the sheet tab and "View Code"


Copy/paste the above event code into that sheet module.


Adjust the cell range to suit.


On Wed, 13 Jun 2007 13:53:21 -0700, wrote:
Hello All,


I am looking to create a popup warning notification macro when a cell
is changed. I would like it to say something like this: Please be
advised that this amount does not include blah blah blah amount. Does
anyone know how to create this Macro?


Thanks so much- Hide quoted text -


- Show quoted text -


I am very very new to this. Can you go into more detail as to what to
do? thanks so much- Hide quoted text -


- Show quoted text -


I guess I am just confused as to where to start. I would just like
this macro to happen for when one changes. For example if cell A1
changes, I would like a notification to appear saying this cell is
changing. Do I just start off by pasting that entire code into the
View Code sheet? Do I do anything with VBE? Thanks so much.

Justin



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
replace VBA run-time error message with custom message BEEJAY Excel Programming 13 July 14th 06 03:59 PM
Replace Excel Message w/Custom Message Kevin R Excel Programming 1 May 18th 06 04:13 PM
Intercept/replace standard 'cell protected' message with my own message? KR Excel Programming 3 March 16th 06 02:31 PM
Opening an attachment of a message that has a message as attachmen vetron Excel Programming 0 January 30th 06 06:17 PM
Displaying a message in a message box without requiring user to click anything to proceed Android[_2_] Excel Programming 2 June 25th 04 06:44 PM


All times are GMT +1. The time now is 05:33 PM.

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"