excel vba - Searching information with vba -
excel vba - Searching information with vba -
i working in project need following. have work 2 files; file1 , file2.
the macro needs go file1 id#(0123456789) , find in file2.
once finds id# in file2 copies info same sheet found in different cells in same row.
once info found exported 3rd file.
notes: column names cannot hard coded - column = "f" or "g", etc. - because columns might in different letter every time want find id#. id# need found column name, such range("a1:z1"). if column name = id#name in range("a1:z1") id# in column.
i new vba, don't know start at, if of can point me out right direction it. give thanks much help.
read vba tutorials , figure out logic. can seek each loop check if item meets requirements in conditional statements, set variable id , same file 2 file 2s conditional statement id# wanted file1
excel-vba
Comments
Post a Comment