Hello friends,
i am trying to consolidate data in Sheet7 of all the files in a folder to a single file. In case a file doesn't contain Sheet7, i want to get the name of the workbook. The code is working fine, but after it loops it is returning Runtime Error 9 - Subscript out of range. Please help. Thanks in advance.
Here is my code
![]()
Please Login or Register to view this content.
Bookmarks