Cell B1 = Firstname
Cell B2 = Surname
Cell B3 = =FILTER('https://sharepointpath/[SOURCEWB.xl...POINTPATH/[SOURCEWB.xlsx]SHEETNAME'!$K:$K=B2),"")
... which returns an array of values from column A of the source WB if column Jof the source WB = B1 AND column Kof the source WB = B2
Works perfectly but I'd like to rewrite this in VBA for consistency (B1 & B2 are populated by a VBA Sub using InputBoxes)
But can't get my head round how to do it?
Thanks ...
Cell B2 = Surname
Cell B3 = =FILTER('https://sharepointpath/[SOURCEWB.xl...POINTPATH/[SOURCEWB.xlsx]SHEETNAME'!$K:$K=B2),"")
... which returns an array of values from column A of the source WB if column Jof the source WB = B1 AND column Kof the source WB = B2
Works perfectly but I'd like to rewrite this in VBA for consistency (B1 & B2 are populated by a VBA Sub using InputBoxes)
But can't get my head round how to do it?
Thanks ...