Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default MESSAGE BOX IN EXCEL

Hello,

I have created a spreadsheet with totals on it, the total is a formula
in cell J25, what i am trying to do is each time the total goes over a
limit of £5k, i want a message box to appear and say somethinkg like
seek more approval, also is there a quick way to archive data from a
spreadsheet, so for example if i have popultaed a sheet with 200
records on it, and in column "D", if it has an "I" in it, i want to
create a new tab, and cut and paste all those records onto it but
without affecting my form, I woudl appreacite any help whatsoever
Kind Regards

Zed

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default MESSAGE BOX IN EXCEL

On Apr 3, 9:21 am, wrote:
Hello,

I have created a spreadsheet with totals on it, the total is a formula
in cell J25, what i am trying to do is each time the total goes over a
limit of £5k, i want a message box to appear and say somethinkg like
seek more approval, also is there a quick way to archive data from a
spreadsheet, so for example if i have popultaed a sheet with 200
records on it, and in column "D", if it has an "I" in it, i want to
create a new tab, and cut and paste all those records onto it but
without affecting my form, I woudl appreacite any help whatsoever
Kind Regards

Zed


In regard to the first part,

Private Sub Worksheet_Change(ByVal Target As Range)
Const ws_Rng As String = "J1:J24" '<== edit if needed
On Error GoTo ws_exit
Application.EnableEvents = False
If Not Intersect(Target, Me.Range(ws_Rng)) Is Nothing Then
If [J25].Value 4999.99 Then
MsgBox "Needs Approval"
Else
End If
End If
ws_exit:
Application.EnableEvents = True
End Sub

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 07:57 PM.

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"