G
Guest
I'm fairly new at this, so sorry if it's a stupid question.
I've used the code from the http://www.mvps.org/access/api/api0001.htm to
create dialog boxes for both importing and exporting data. I have 2
questions, though:
1.) I've had to create 2 separate macros for exports, 1 for csv files and 1
for xls. I've tried putting both in 1 module, but I kept getting errors when
I'd test for both. 1 would usually save np (it varied which one), but the
other format would either do nothing or create an error.
2.) I know there's a way to prevent/hide the error when a user clicks the
cancel button from the dialog box, but my searches have turned up nothing.
Any help is greatly appreciated.
I've used the code from the http://www.mvps.org/access/api/api0001.htm to
create dialog boxes for both importing and exporting data. I have 2
questions, though:
1.) I've had to create 2 separate macros for exports, 1 for csv files and 1
for xls. I've tried putting both in 1 module, but I kept getting errors when
I'd test for both. 1 would usually save np (it varied which one), but the
other format would either do nothing or create an error.
2.) I know there's a way to prevent/hide the error when a user clicks the
cancel button from the dialog box, but my searches have turned up nothing.
Any help is greatly appreciated.