Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default MsgBox Question

Hi All,

I would like a message box to appear if the contents of a certian cell is
less than 0.17.

The code I wrote to do this is given below:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target(1), Me.Range("j39")) Is Nothing Then Exit Sub
If Target(1).Value < 0.17 Then
MsgBox ("Error - Minimum Circ must be 17%. Call for Quote")
End If
End Sub

This works if I manually enter the value into cell j39, but I would like
cell J39 to update via a formula. For example, the formula in cell J39 is:
=g39/d39.

A series of check boxes and drop down boxes are used to select the
quantities in cells G39 and J39.

Any insights would be greatly appreciated.

Thank you.

Chris
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
MsgBox Question Jim Thomlinson[_4_] Excel Programming 0 December 7th 05 04:49 PM
MsgBox question Ken Loomis Excel Programming 5 July 5th 05 06:56 PM
MsgBox Question - HELP! Ann Excel Programming 1 February 4th 04 08:52 PM
MsgBox Question Ray Batig Excel Programming 1 December 23rd 03 03:42 AM
Msgbox question Pancho Excel Programming 4 October 23rd 03 05:36 PM


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