Hi there! I have to find a solution for a problem we are having with a process at work. We have files that need updated monthly. Users copy and paste from their own excel files into a table in my files. They are supposed to CPV (copy / paste as values) numerical values only, but we invariably run into issue with someone NOT following that procedure. Last month I had to spend several extra hours combing thru the data inputs and cleaning up the random non-numerical values that were pasted incorrectly (the scale of the dataset is very large and across many input files). I have data validation in the cells that are to be updated, but of course the Paste action overrides those rules.
I have googled and googled and am not finding a solution that best fits my needs. I do not want to prevent pasting altogether as this would cause more problems than it would fix. What I am thinking about is just adding a code to "catch" when a user just "Pastes" without "Pasting as Values".... for example, on event, if user only pastes (and not CPV), undo the action and return a message stating "Please copy / paste as values."
Is that possible? I admit my VBA skills are so rusty I am not confident in my ability to write a code to do this myself.
I appreciate any help! I attached a simple file as an example. For confidentiality reasons, I can't post the actual file I am working with. The yellow cells are the cells we want users to update/paste into. All other cells are locked for editing.
I have googled and googled and am not finding a solution that best fits my needs. I do not want to prevent pasting altogether as this would cause more problems than it would fix. What I am thinking about is just adding a code to "catch" when a user just "Pastes" without "Pasting as Values".... for example, on event, if user only pastes (and not CPV), undo the action and return a message stating "Please copy / paste as values."
Is that possible? I admit my VBA skills are so rusty I am not confident in my ability to write a code to do this myself.
I appreciate any help! I attached a simple file as an example. For confidentiality reasons, I can't post the actual file I am working with. The yellow cells are the cells we want users to update/paste into. All other cells are locked for editing.