Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello...I have a little vb code tht I am trying to get to work with a range
of cells. Basically if any of the cells in the range are empty it should return a message. the code works if a single cell (such as D14) is used but not when I put the range (such as D14:D63). Anyone have any ideas as to how I can get this to work without listing each cell individually? here is what I hve so far: Private Sub Sr_Mgr_Click() If IsEmpty(Sheets("Sr-Area Manager").Range("D14:D63")) Then r = MsgBox("You are missing a Move-In Date. Move-In Dates are a required field. Please verify you have ALL Move-In Dates entered before continuing!", _ vbQuestion + vbOKOnly, "Error?") If r = vbOK Then Range("D14").Select End End If End If End Sub -- Randy Street Rancho Cucamonga, CA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I enter formula sum(range+range)*0.15 sumif(range=3) | Excel Discussion (Misc queries) | |||
Excel Addin:Setting the range to the Excel.Range object range prop | Excel Worksheet Functions | |||
Range Question / error 1004: method Range of object Worksheet has failed | Excel Programming | |||
Range.Find returns cell outside of range when range set to single cell | Excel Programming | |||
how to? set my range= my UDF argument (range vs. value in range) [advanced?] | Excel Programming |