LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default Requiring data in certain cells

Thanks for your previous post, with a few modifications I got the error
message to pop up, however something is still incorrect... The message
appears whether or not the address info is in C5:C8.
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("C5:C8")) Is Nothing Then
Application.EnableEvents = False
If Range("C5:C8") = "" Then Target = ""
MsgBox "To continue ALL ADDRESS INFO MUST BE ENTERED"
End If
Application.EnableEvents = True
End Sub
 
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
requiring a field cherrynich Excel Worksheet Functions 1 July 10th 06 10:00 PM
Formulas requiring a time stamp Major Tomm Excel Worksheet Functions 2 August 24th 05 11:19 PM
using sumif formula: but requiring satisfying 2 if statements karenm Excel Worksheet Functions 1 July 8th 05 07:34 PM
Formula requiring two different criterias MJMP Excel Worksheet Functions 8 March 1st 05 10:13 PM


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