rjacmuto32
Board Regular
- Joined
- Jul 14, 2004
- Messages
- 98
searched but wasn't able to find anything similar to this. Not sure If maybe my subject might have been wrong. Anyway I have data in rows.
I want a macro to go through each row and if column B for that row is blank, then clear the contents in columns C-L
So if B1 has a number nothing, If B2 is blank then clear the contents in cells C2-L2.
The other problem is I can have a differnt last row number each time. 1 day there is 500 rows another day there is 700 rows. There always is a value in Column A which can be used to locate the last row function. For that I use LastRow = Range("A" & Rows.Count).End(xlUp).Row I'm just not sure how to clear the contents is column B is blank of other cells.
Thanks,
--Robert
I want a macro to go through each row and if column B for that row is blank, then clear the contents in columns C-L
So if B1 has a number nothing, If B2 is blank then clear the contents in cells C2-L2.
The other problem is I can have a differnt last row number each time. 1 day there is 500 rows another day there is 700 rows. There always is a value in Column A which can be used to locate the last row function. For that I use LastRow = Range("A" & Rows.Count).End(xlUp).Row I'm just not sure how to clear the contents is column B is blank of other cells.
Thanks,
--Robert