I can't figure out how to add an error message to a button I have to clear rows of data.
The code works, but I only want the user to be able to delete row ranges from 8 onward.
If the user tries to delete any row range between 1:7 (1 through 7), then I want an error message to come up saying that "You can't delete any rows between 1 and 7."
Any help would be greatly appreciated.
Here's my code:
This is my feeble attempt to add the error message, but it doesn't work. It's hard for me to figure out because the user enters the data in row ranges such as: "8:22" .
Bookmarks