Tom, thank you for your very clear help with the code for this question. With a few adjustments, I think I will be able to capture what I need and pass it to name my exported files, even when my query does not turn up any rows. Rita, thank you for raising this topic. I've been looking for a solution like this for passing the user entry so that I can reference it during the export.
... View more