Hi Ronald,
Using a dynamically generated output file name is a frequent question in this forum. Here is one of the topics: Export File Using Parameters for File Name and Path
Also: