I have setup a query & function that referenced a file path to a folder that I weekly dropped files into & updated my query that combines these 2020 files. Now that we're in 2021 I have moved those 2020 files to a different folder and started putting 2021 files in that same defined path which is used as a repository file which is generically named. When I refresh the query now I'm getting a [DataSource.error] Could not find file... with the correct path that ends with a file that I've moved. As this file no longer resides in the folder & I do not want them in my combine query the query will not refresh because it cant find that file. If I move it back into the folder it returns the same error with the next missing file. I've moved multiple files and will keep getting this error until all the files are back into the folder. When I moved all the 2020 files back into the folder it will refresh correctly.
I've gone to the Data tab >> the Data Source Settings & the path is correct for where I'm putting in the files I need combined. Just to test I browsed right back to the same file path & I'm still getting the same error.
I'm at a loss. Because this is company info I cannot upload an example. Has anyone ever had this problem & is there a resolution. I am using Excel 2016.
I've gone to the Data tab >> the Data Source Settings & the path is correct for where I'm putting in the files I need combined. Just to test I browsed right back to the same file path & I'm still getting the same error.
I'm at a loss. Because this is company info I cannot upload an example. Has anyone ever had this problem & is there a resolution. I am using Excel 2016.