ok I thought this was working yesterday...... I made a change so that I defined the array of structure outside the above routine...so I can call it in other routines ie output array to file

Dim myFiles2(300) As myFiles

that was line then passed the subroutine the array....for some reason it doesnt like it

Just put above routine in main module and it works fine...... can anyone explain why moving passing the array it doesnt like it?? Is this a structure bug?