Hamyatta,
1. I would suggest you look at the FAQ here on how to do posts. faq707-5689
Using CAPS FOR TEXT IS NOT POLITE. It is the equivalent to shouting. Why are you shouting? I see no need for using full caps. Even more oddly, you state you are deliberately using large letters. Please don't. A word here and there is OK, but having your reply in full caps is rude.
2. I frankly don't care what you are doing with the files. That was the not the subject of your post. If you are asking questions about what actions you are doing with the files - copying things from sheets, etc. etc. etc....then post a question on that. So telling me about target sheets, or if they need to be created or not....is not relevant to either your subject of the post, OR to the comments I made.
A - are you trying to give a choice to the users on what file to open?
NO I AM GIVING USERS THE CHOICE ON WHICH FILE TO OPEN..
B - are you opening all the files regardless of the user.
YES, I AM OPENING ALL FILES..
Please read that slowly.
My question: Are you trying to give a choice to the users?
Your answer: No I am giving the users the choice.
Hmmm. This is confusing. You say "No", but also say you are giving them a choice.
First of all, I explained that you are not, in fact, giving them a real choice. The files are opened sequentially. Say there are three files. The user wants to open #2. Your code will open #2, but it opens #1 first anyway. This is not a choice. With your code the user MUST open #1 to be able to open #2. Say there are 12 files, and the user wants to open #9. Well, with your code the user MUST open #1, #2, #3, #4, #5, #6, #7, AND #8 to get to open #9. This is not a choice.
Second, you state you want to give the user a choice, yet you also state you are opening all the files.
Perhaps you should look up "choice" in a dictionary.
I will repeat. Either you are giving a choice, OR, you are opening all the files.
Giving a choice
means the user can choose to NOT open a file.
Opening all the files means...opening all the files. In which case, what choice does the user have? None.
Read what you wrote again.
A - are you trying to give a choice to the users on what file to open?
NO I AM GIVING USERS THE CHOICE ON WHICH FILE TO OPEN..
B - are you opening all the files regardless of the user.
YES, I AM OPENING ALL FILES..
Sorry, but you can not have it both ways. Either you are opening all the files - in which case the user has no choice; or you are giving the user a choice.
Again, perhaps you need to rethink this, and make a decision as to what exactly you are doing.
And I will reiterate - all the messages are distracting, and likely not needed. Messages to users should give them information they
need.
Gerry
My paintings and sculpture