i have a macro which opens a userform. when the userform appears i would like all the files in a certain directory to appear in a listbox that is on the userform. does anyone know the code, and where to put the code to do this?? thanks for any help in advance.