My question was Randomly select data from multiple sheets in Excel .
Within a few minutes of posting the question, it was closed for being not focused.
I being totally new to programming, and with a background of political science, could add a few lines to the codes already linked in my post and made it workable, though not in any way perfect.
I repeat, I just added a few lines to the already existing answers of similar question already answered and of which I had given links.
For expert professionals it would have been like breeze.
Most of my questions are of this nature only. I acquainted myself with the forum and only when I found there were plenty of questions like this but not exactly the same, duly upvoted and answered, did I posted mine.
It would be great if anyone could please anyone advice on what went wrong and how I could have been more focused.What I want to know is was there any way the question could have been split?
The whole question was:-
How can I select randomly any number of sample (say 10) where data can be extracted from any sheets with the condition that there is letter Y in the corresponding row in column "H".
In other words, I need to refer to random rows from random sheets with the given criteria and get the result of the values in a separate sheet.