Hi,
So I have been working to create a vba program that will prevent the user from closing the workbook if the first cell is not empty and the cell below is, or the first cell is empty but the cell below is not. If both cell are empty or both cell are not empty, then the workbook will save and close.
What I want to do is to apply this for the entire row or at least a range if possible. Checking each of the column. If you have any idea please help. Thank you.
Here is the code that I have been working on and trying to tweak to apply to entire row.
Bookmarks