Hi
My question is in the code
My question is in the code
VBA Code:
Public Sub findforeach()
Dim ws As Worksheet
Set ws = ActiveSheet
' how do I return these :
' if no cell in below range with number value is found then
' if below if statement is true for the first number value found (most likely in A45) then
Dim Cell As Range
For Each Cell In Range("A45:a61")
If Application.WorksheetFunction.IsNumber(Cell.Value) = True And Cell.Offset(0, 37) = "" Then
MsgBox ("Found number " & Cell.Value)
Cell.Offset(0, 37) = "username & date"
Else
End If
Next Cell
End Sub