Hobolord
Board Regular
- Joined
- Sep 9, 2015
- Messages
- 64
Hello,
I am using excel 2013 on Windows 7 on a PC.
I am trying to figure out how to delete an entire row if the value in the cell in Column B is a date.
I have the code to delete the row if the cell in column B is blank, but I can't figure out how to do this for a date.
Any ideas?
Thank you,
Hobo
I am using excel 2013 on Windows 7 on a PC.
I am trying to figure out how to delete an entire row if the value in the cell in Column B is a date.
I have the code to delete the row if the cell in column B is blank, but I can't figure out how to do this for a date.
Code:
Columns("B:B").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
Any ideas?
Thank you,
Hobo