fari1
Active Member
- Joined
- May 29, 2011
- Messages
- 362
Code:
Dim dcell As Range, cellbelowd As Range
Set dcell = Worksheets("info").Cells.Find("Description", , xlValues, xlWhole, , , False)
Set cellbelowd = Worksheets("info").Cells.Find("*", dcell, xlValues, xlWhole, xlByColumns, xlNext)
If cellbelowd Is Nothing Then
exit sub
in my above code, i want to do is to check if the next cell under the cell description is blank, if it is blank then exit sub.
but this code is not working somehow, any help