coucar3456
New Member
- Joined
- Jun 29, 2016
- Messages
- 11
Group,
I have a macro set up to pull a total of 10 files from a folder on my desktop. Then I have a union query to merge all 10 tables. The union query works fine, however, some weeks I may not have 10 files, it may be 6 to 8 files. Because the union query is already staged to merge 10 files it will error out if there is not 10 files. Is there a way to keep the union query set on merging 10 tables and on error ignore.
Carter
I have a macro set up to pull a total of 10 files from a folder on my desktop. Then I have a union query to merge all 10 tables. The union query works fine, however, some weeks I may not have 10 files, it may be 6 to 8 files. Because the union query is already staged to merge 10 files it will error out if there is not 10 files. Is there a way to keep the union query set on merging 10 tables and on error ignore.
Carter