Pinaceous
Well-known Member
- Joined
- Jun 11, 2014
- Messages
- 1,124
- Office Version
- 365
- Platform
- Windows
Hi All,
I'm working with a database where the first Column A's cell is not blank starting in row 11 of the worksheet.
I'm trying to create a Sub to delete the row if there are no values in the proceeding Column A.
For example, If Column A is not empty BUT its Columns B to AK are empty, the sub will delete that row.
Above there are values in Column A but if there are no values in that row from Columns B to AK, the sub will delete that row, as can be seen below.
So here the sub will delete the rows 15-16, 18-36 ...., because there were no values in that row from Columns B to AK, so the sub will delete that row.
Please let me know, if you can provide me with a sub to test out!
Thank you!
Pinaceous
I'm working with a database where the first Column A's cell is not blank starting in row 11 of the worksheet.
I'm trying to create a Sub to delete the row if there are no values in the proceeding Column A.
For example, If Column A is not empty BUT its Columns B to AK are empty, the sub will delete that row.
Above there are values in Column A but if there are no values in that row from Columns B to AK, the sub will delete that row, as can be seen below.
So here the sub will delete the rows 15-16, 18-36 ...., because there were no values in that row from Columns B to AK, so the sub will delete that row.
Please let me know, if you can provide me with a sub to test out!
Thank you!
Pinaceous