|
I spent yesterday playing with the @error macro and i think i have it all figured out now. I had it after the NEXT statement, which only returned an error for the LAST file copied. If the first 4 failed and the last succeeded then I would lose data. I moved it up inside of the For Each-Next function and it works much better now. I need the login box because these employees work 3 rotating shifts covering 24 hours a day and so share computers. I need to make sure they are putting their files into their own folder and not just the logged on user. I was able to locate and rem out the line that places the currently logged in users name into the login window so now they have to type in their name manually. If they type in anything other than the name of the currently logged on user, the script will pop up a messagebox and quit. Thank you all for your help. This was a pretty complex script for a first time Kix user. I could not have done it without your assistance.
|