I am trying to incorportate this code
CurrentDb.Execute "DELETE FROM CAFILE" into a macro. What I want the macro to do is delete the contents of the file named CAFILE and then import a text file I have on a shared network drive to replace the contents of CAFILE. I am not able to get the macro to find the code I have written. I am using the RunCode action in the macro. Can someone help me with this? Thanks!
CurrentDb.Execute "DELETE FROM CAFILE" into a macro. What I want the macro to do is delete the contents of the file named CAFILE and then import a text file I have on a shared network drive to replace the contents of CAFILE. I am not able to get the macro to find the code I have written. I am using the RunCode action in the macro. Can someone help me with this? Thanks!