One more problem comes while running this code,

When i put this code under For Loop , to play 5 or 6 notes in sequence, after playing first note error comes that permission denied, Run time error 70
when i debuged that it took me to the file copy line. I believe that at second time the file wav cannot be copied in wavfast file as it is used by the previous process. I mean to say that For i=1 to 5, it plays for i=1, but it does not play for i=2 as the above error comes.