Hello all
I have data validation of various kinds implimented within a worksheet. When you copy and paste a cell over a cell with data validation in, it overwrites the validation.
I've found the following macro which is meant to check that the named range of cells, "ValidationRange" still have data validation following any cell or range being edited in the worksheet. In this case I have named cells O9:R10,U9:AR10 as the range "ValidationRange" as these are the cells I have with preexisiting data validation. Found at this site: http://www.j-walk.com/ss/excel/tips/tip98.htm
Formula:Please Login or Register to view this content.
This macro doesn't seem to work. Excel either responds with "Rune-time error '29': Out of stack space" with the debug option greyed out.
Or the message box pops up "Your last operation was canceled. It would have deleted data validation rules." And then either
- I click OK and the box doesn't go away (basically reappears as soon as I click OK) or
- I click OK and then get "Run-time error '1004': Method 'Undo' of object'_Application' failed" with the debug option greyed out
Whatever happens usually results in Excel crashing also..
Thanks all
Bookmarks