I'm using a Directory tool to grab all of my Excel files in several folders and subfolders. There are thousands of files and I want to narrow it down by a separate Excel list of filenames.
The files have multiple worksheets but I only want to pull data from one that contains the word "Measurements". Two challenges I'm facing -1) Getting an error that there are too many columns (MS Jet Engine error). I only need to use the range A1:V25 and I've added this as part of my SELECT statement in the macro directory tool "SELECT * FROM 'Measurements$A1:V25'. The macro itself runs as it should but, when I go to add it to my main workflow, once it gets to the macro, it throws an error that it can't find the worksheet name and 2) The sheet names are consistent, can I use a wildcard in the worksheet name as some are named "Measurements~WS" and some "Measurement"?