Dear all

i have one folder that contains 40 notepad files , i would like to have a macro that will create new word first , add title for first notepad file and below the title copy all contents of this notepad , then in same word file , add the second title for second file then add the contents and so on, so t the end i have one word document and the data of all 40 notepad files are inserted under the name of the notepad file.
how can we achieve that ?
knowing that the names of notepad files are random.
thanks in advance