Firstly I tried posting this question earlier and don't think it worked, so sorry if it did work eventually.

So far I have been trying to complete this task without any outside help but unfortunately I have hit a brick wall. I have to open a series of 20 files and do some calculations with each file. I have managed to do open a single specified file and get the code to work and do all the calculations required. But I can't get it to open the files one by one and do the calculations for each

any help would be greatly appreciated

Thanks