I have an Excel 2003 spreadsheet containing a mix of UK date and currency formatted cells. I cannot change the structure of the spreadsheet. In VBA, during a worksheet change event, I want to check if the user has deleted the data from a number of ranges comprised of merged cells. If the user has deleted the data, I simply want to exit the sub. I have tried IsNull and IsEmpty but they don't work on merged cells. Using Range.value = "" throws up an application/ object related error.
In simplier terms
If a change event occurs AND the change involves a range comprised of merged cells AND the change is a deletion of data from the merged cells Then Exit the sub - my existing code covers other scenarios.
I've read forums far and wide for a simple solution (my experience is quite limited) but nothing yet does the trick. Grateful for any help. Thanks and keep up the great work!!
In simplier terms
If a change event occurs AND the change involves a range comprised of merged cells AND the change is a deletion of data from the merged cells Then Exit the sub - my existing code covers other scenarios.
I've read forums far and wide for a simple solution (my experience is quite limited) but nothing yet does the trick. Grateful for any help. Thanks and keep up the great work!!