I'm trying to write some basic code to check if cell A6 has any value (could be a string too). If A6 has a value, then I want to delete Rows 1:5. If A6 does not have a value and is blank, then I don't want the macro to do anything. I have posted my sample code below. I feel like this should be really easy, but the macro deletes rows 1:5 regardless of whether A6 has a value or not. Any help with a fix is much appreciated!
Please Login or Register to view this content.
Bookmarks