B bobfin Registered User. Local time Today, 08:33 Joined Mar 29, 2002 Messages 82 May 7, 2002 #1 I want to write a macro that will send an email only if a query had any results. After the OpenQuery line, how do I write the condition on the SendObject line?
I want to write a macro that will send an email only if a query had any results. After the OpenQuery line, how do I write the condition on the SendObject line?
L llkhoutx Registered User. Local time Today, 02:33 Joined Feb 26, 2001 Messages 4,013 May 9, 2002 #2 Use VBA instead of a macro.