Hi!
Basically I have to import a number of files from a directory in the C: drive. All of the files have a standard form, for which I've written code to loop through the folder.
But now the files will be having a five digit random number added onto the end of their names. I've tried writing:
Importfile = "Standard_name_part" & * & ".dat"
and
Importfile = "Standard_name_part" & "*" & ".dat"
But the compiler doesn't recognise the * symbol. What can I do???
Thanks,
D
Basically I have to import a number of files from a directory in the C: drive. All of the files have a standard form, for which I've written code to loop through the folder.
But now the files will be having a five digit random number added onto the end of their names. I've tried writing:
Importfile = "Standard_name_part" & * & ".dat"
and
Importfile = "Standard_name_part" & "*" & ".dat"
But the compiler doesn't recognise the * symbol. What can I do???
Thanks,
D