L
Legacy 48831
Guest
Hello everyone. I have been searching through the forums looking for an example to delete the contents of a cell based upon the value in another but cannot seem to get it to work.
What I have is a spreadsheet that in A15 if it is blank, I would like to have E15 to delete it's contents. If A15 is anything else then I want the user to be able to enter a number in E15, otherwise if they clear A15 then E15 clears.
The major issue is that I need this to work not only on A15 and E15 but from A15:A43 and from E15:E43.
Is there a simple method of doing this with VBA, since it would be only clearing a range within the column instead of a full column?
What I have is a spreadsheet that in A15 if it is blank, I would like to have E15 to delete it's contents. If A15 is anything else then I want the user to be able to enter a number in E15, otherwise if they clear A15 then E15 clears.
The major issue is that I need this to work not only on A15 and E15 but from A15:A43 and from E15:E43.
Is there a simple method of doing this with VBA, since it would be only clearing a range within the column instead of a full column?
Last edited by a moderator: