VBA check value from column A exists in another workbook
问题 I am trying to build a macro that loops through a range of values within colA and check if they exist with another workbook. In one of them I would like to mark it "Worked"/"Not Worked" Any guidance on where to start? 回答1: Example Here is an example of what you're looking for. Remember that both the workbooks have to be opened in the same instance of Excel. Sub check() Dim i As Integer, k As Integer, j As Integer 'Define your counting variables Dim Report1 As Worksheet, bReport As Workbook,