Hi all,
I have a macro built that outputs the results of a query directly to a new Excel Workbook. I then put a button on a form which when clicked runs the macro. My problem is that after the macro runs Access appears to lose my database (grey screen) and freezes. The only thing I can do is X out. It doesn't do this when I run the macro separately. Is there something I need to add to the macro to finalize the process. I have tried adding Close, Requery, CancelEvent, but to no avail. What am I missing? Is this a "garbage collection" issue?
Help appreciated
rgs
Ginny
I have a macro built that outputs the results of a query directly to a new Excel Workbook. I then put a button on a form which when clicked runs the macro. My problem is that after the macro runs Access appears to lose my database (grey screen) and freezes. The only thing I can do is X out. It doesn't do this when I run the macro separately. Is there something I need to add to the macro to finalize the process. I have tried adding Close, Requery, CancelEvent, but to no avail. What am I missing? Is this a "garbage collection" issue?
Help appreciated
rgs
Ginny