Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Macro Conditions

Discussion in 'Information Technology' started by Glenn, Nov 18, 2005.

  1. Glenn

    Glenn
    Expand Collapse
    Guest

    I am trying to run a macro that will send .xls files from queries to a set
    list of people. However, I don't want .xls files that don't have data in them
    to be sent. What is the syntax that needs to be entered in the macro
    condition?
     
  2. Loading...

    Similar Threads Forum Date
    Microcosm and Macrocosm Gurmat Vichaar Mar 20, 2009
    Adobe Unruffled by Macromedia Restatement (AP) Interfaith Dialogues May 4, 2005
    Macromedia Flash animation and designing. Interfaith Dialogues Oct 21, 2004
    Sikh News Cold wave conditions in Uttarakhand, Punjab, Himachal Pradesh (New Kerala) Breaking News Jan 28, 2008

  3. Larry Daugherty

    Larry Daugherty
    Expand Collapse
    Guest

    Even though you MAY be trying to do this within Access, the relational
    database management system from Microsoft, you'll have better luck
    finding answers for Excel code questions in Excel newsgroups.

    HTH
    --
    -Larry-
    --

    "Glenn" <Glenn@discussions.microsoft.com> wrote in message
    news:4DFDD806-5D12-436E-A3C2-6636425A182E@microsoft.com...
    > I am trying to run a macro that will send .xls files from queries to

    a set
    > list of people. However, I don't want .xls files that don't have

    data in them
    > to be sent. What is the syntax that needs to be entered in the macro
    > condition?
     
  4. Steve Schapel

    Steve Schapel
    Expand Collapse
    Guest

    Glenn,

    Like this...
    DCount("*","NameOfYourQuery")>0

    --
    Steve Schapel, Microsoft Access MVP


    Glenn wrote:
    > I am trying to run a macro that will send .xls files from queries to a set
    > list of people. However, I don't want .xls files that don't have data in them
    > to be sent. What is the syntax that needs to be entered in the macro
    > condition?
     

Share This Page