Hi,
I want to have a macro which runs daily and appends an existing table with data from a csv file. I have managed to successfully do this using the 'ImportExportText' macro. However, on some rare occasions the csv file will be blank if no transactions have occurred on the previous day. This obviously causes an error when the macro is run which states 'Query must have at least one destination field'. Is there anyway to stop this message and get access to skip this 'ImportExportText' macro if the csv file is blank?
Thanks in advance for any help
Kind Regards
Kim
I want to have a macro which runs daily and appends an existing table with data from a csv file. I have managed to successfully do this using the 'ImportExportText' macro. However, on some rare occasions the csv file will be blank if no transactions have occurred on the previous day. This obviously causes an error when the macro is run which states 'Query must have at least one destination field'. Is there anyway to stop this message and get access to skip this 'ImportExportText' macro if the csv file is blank?
Thanks in advance for any help

Kind Regards
Kim