VBA delete certain cell contents if condition is met
Hello
I have a spreadsheet that will have variable row counts each time I process it. I need to clear a few cells if the date in column H is greater than column F, or if column H is blank. Cells to be cleared would be in columns H, I, M, and N. I would need this to loop to the bottom of the sheet from row 2 to the bottom. Any help is appreciated! Thanks |
Answer: VBA delete certain cell contents if condition is met
Sure, I can help you with that. Here's a VBA code that should do the trick:
Formula:
I hope this helps! Let me know if you have any questions. |
All times are GMT +1. The time now is 11:04 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com