I am importing data from four different sources and I want to validate that the data for all sources is for the same time period before continuing with my updates. I created summary queries and grouped by the date formatted as a month so there is only one record in the query output for each that I can then compare. But I would like to add the comparison check in the code that I am calling after the data is imported to make further updates but if they all don't match then I would exit the code. Is there a way I can do this using VBA code? Thanks in advance for the help!