Home » excel » Excel Copy and Paste while mantaining data validation

Excel Copy and Paste while mantaining data validation

Posted by: admin April 23, 2020 Leave a comment

Questions:

When I perform a copy and paste from a blank cell to a cell with data and validation, the validation in the destination cell itself gets deleted.

Is there anyway I could maintain the validation in the destination cell while only pasting the values? (And validating the contents that are pasted)

(Also, and hence the reason why I ask this, I’m not allowed to use the “Paste Special” feature, so a workaround is required)

How to&Answers:

You have to use VBA (create a macro) to be able to do this.

You can modify the code that Craig A linked to in the comment (j-walk.com/ss/excel/tips/tip98.htm).