Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'd like to create a scrip that searches a column for non null cells. Then
when it finds the non null cell it displays the cell name (i.e a10) any suggestions? Thanks, |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Look at this: Sub FindNonNullCells() Dim TargetCol As String Dim LastRow As Long TargetCol = "A" LastRow = Cells(Rows.Count, TargetCol).End(xlUp).Row For r = 1 To LastRow If Range(TargetCol & r).Value = "" Then msg = MsgBox("Null cell found in : " & TargetCol & r) End If Next End Sub Regards, Per "Jeff" skrev i meddelelsen ... I'd like to create a scrip that searches a column for non null cells. Then when it finds the non null cell it displays the cell name (i.e a10) any suggestions? Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using NULL in shading cells | Excel Worksheet Functions | |||
Failed to save table attributes of (null) into (null). | Excel Discussion (Misc queries) | |||
NULL Cells | Excel Worksheet Functions | |||
Checking that any cells are null | Excel Worksheet Functions | |||
searching for a null cell in a column | Excel Programming |