in reply to Re^4: Error opening file handle within while loop
in thread Error opening file handle within while loop
Hi, yes well spotted and apologies, this has been fixed. My original code contained slightly different variable names and I changed them to post here to try and simplify things, seems I made a bigger problem though by creating mistakes!