Hi, I have created a macro in Access 97 which deletes records from the tables in my database and imports delimited text files. When I run the macro in Access everything works fine. However, I have been unsucessfull at creating an application to run the macro. Does anyone have any ideas on how I can do this? I have been trying to use DoCmd.RunMacro but it has not been working. It opens my database but just hangs there.