Welcome to SPN

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

Sign Up Now!
  1. Monthly (Recurring) Target: $300 :: Achieved: $95
      Become a Supporter    ::   Make a Contribution   

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?
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page