vba - Alternative to Excel INDIRECT that works on closed files, and links to workbook based on cell value? -
i've seen many questions on forum linking excel files based on cell values , indirect pops answer, , function , fill sheet way want, need find way work source file being closed. problem when comes linking, file path pull data not known until part of file name entered cell.
for example, in 'print summary' workbook, sheet1 cell a2 file name entered number 12345 (and gets auto-formatted place 'wip' in front) represents wip12345.xls. wip12345.xls form holds information needs populate columns across row 2. wip12345.xls order form , completed days ahead. once has been approved, summary workbook updated wip#.
i did concatenate wip12345 , .xls create file name wip12345.xls on sheet2, , have macro copies , pastes special value turn result text. but, can't find way create formula take value , lookup file pull information from. need pull , fill information different cells 10 columns down 43 rows (each row representing different wip#####.xls file).
i'm guessing vba way go, have no idea how write it. have direction can point me in? hope i'm coming across clearly.
the free add-in morefunc.xll contains function called indirect.ext, works closed worbooks.
Comments
Post a Comment