I have a report that has a list of employees ID numbers in column E.
In Column J the manager will select from a Data Validation Dropdown to indicate the status of the employee (String)
The following month I will distribute a new report with all of the selections from the previous month populated in Column J.
I am preparing the report by using a macro to do a VLOOKUP from last months report using ID number from column E to get the Data Validation selection in Column J and then converting the VLOOKUP formulas to values.
As a lot of you already know, this somehow turns off my DV rules for Column J in the new report (apparently this is a known issue). Leaving column J open to any entry, which is unacceptable.
Once I realized that the users could just put anything into those cells by simply pasting it in, I added a block to my code to test last months entries against the list of acceptable entries and deleting any invalid entries after being pulled into the new report.
Next step then is to turn the DV rules back on in the new report. This is where I am stuck. I can't figure out how to turn them back on. I even tried to do it manually in the spreadsheet and I can still type anything into those cells.
Anyone know how to turn DV rules back on once the have been turned off via paste? VBA solution would be best.
I cant post my code because my company blocked the ExcelHelpForum as Social Media site, so I am posting this from my personal computer and dont have the code here. If needed I can add the logic.
Thanks
Bookmarks