Originally Posted by
dangelor
Like you, I started asking for help... Good luck!
Hey, one more slight issue. Things changed a bit and I have to search values from 2 different tabs, everything is exactly the same but tab name is different (however the same workbook), and the function to execute is exactly the same. I can obviously copy-paste this as another VBA-script and call it after the first one has completed, but in that case it takes 5 minutes for this script to complete.
I'm guessing that could be halved by opening the workbooks only once and getting values from 2 different tabs, but I can't write that kind of code. Does that sound like something you could maybe do? So, exactly the same code as you posted earlier but somehow look from 2 different tabs with same search terms..
Thanks a bunch!
Edit: I managed to achieve this but I'm not sure if this is a efficient way to run this script. Takes at the moment 4 min 30 sec to open 27 workbooks and get values. Could this be shortened somehow? Dangelor..?
Code:
Bookmarks