Hi all,
I'm trying to run a macro that searches for a value in another workbook (wbk2) which could appear multiple times in different worksheets. Once found i want to copy the row the value is found on and paste to the source workbook (wbk1). I have split the code into modules. The first works fine, it lists all files in the source folder, the second opens the files one by one (loops through) and calls the search macro for each. The search macro is below.
I can't get past the
part. I get the object variable with block variable not set error. I've tried to wrap my brain round it and am failing, could any of you good people help explain this to me?
Thanks
Dan
Bookmarks