I've implemented this solution and found that it only works if the records with the same "CompanyNam e" are beside each other in the table. More specifically, the VBA code processes each record based on the order of primary key in the table. Is there a way to accomplish the goal of the original poster if records aren't adjacent in the table?
Thank you for your help!
Thank you for your help!
Comment