Re: Tools / Macro / Macros - which ones are these?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: michaaal (res0gyio_at_verizon.net)
Date: 10/03/04

  • Next message: Sue Mosher [MVP-Outlook]: "Re: Tools / Macro / Macros - which ones are these?"
    Date: Sun, 3 Oct 2004 11:59:19 -0500
    
    

    "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
    news:elsuqBWqEHA.3876@TK2MSFTNGP15.phx.gbl...
    > I'm still wondering if you meant "VBA Sub" when you wrote "VB Sub"?
    >
    > Yes, you declare a subroutine public by putting Public in front of Sub.
    > --
    > Sue Mosher, Outlook MVP
    > Author of
    > Microsoft Outlook Programming - Jumpstart for
    > Administrators, Power Users, and Developers
    > http://www.outlookcode.com/jumpstart.aspx
    >
    >
    > "michaaal" <res0gyio@verizon.net> wrote in message
    > news:OcO%23uZUqEHA.1576@TK2MSFTNGP12.phx.gbl...
    > > No I didn't declare it as Public. It sounds like that may be my
    solution.
    > > How do I declare a sub as public? I tried just putting "Public" in
    front
    > > of
    > > it, but this didn't seem to solve the problem.
    > >
    > >
    > >
    > > "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
    > > news:OLz8x4VpEHA.1816@TK2MSFTNGP09.phx.gbl...
    > >> Why would you expect a VB sub to show up in your VBA project? Or did
    you
    > >> mean "VBA sub"? Did you declare it Public?
    > http://www.outlookcode.com/jumpstart.aspx
    > >>
    > >>
    > >> "michaaal" <res0gyio@verizon.net> wrote in message
    > >> news:%23$QEMQVpEHA.3688@TK2MSFTNGP09.phx.gbl...
    > >> > How can I get my newly created VB Sub to show up when I
    > >> > click Tools / Macro / Macros?
    > >> > (Outlook 2003)
    >
    >

    I apologize for not clarifying the difference. Would you mind helping me
    out with this? I can tell you exactly the steps I took to create the sub if
    that helps?


  • Next message: Sue Mosher [MVP-Outlook]: "Re: Tools / Macro / Macros - which ones are these?"

    Relevant Pages

    • Re: Automatically close form after sending
      ... Sue Mosher, Outlook MVP ... Microsoft Outlook Programming - Jumpstart for ... > Sub CommandButton1_Click ...
      (microsoft.public.outlook.program_forms)
    • Re: Tools / Macro / Macros - which ones are these?
      ... No I didn't declare it as Public. ... How do I declare a sub as public? ... > Administrators, Power Users, and Developers ...
      (microsoft.public.outlook.program_vba)
    • Re: Tools / Macro / Macros - which ones are these?
      ... I'm still wondering if you meant "VBA Sub" when you wrote "VB Sub"? ... you declare a subroutine public by putting Public in front of Sub. ...
      (microsoft.public.outlook.program_vba)
    • sundial program
      ... It designs sundials. ... DECLARE SUB KeyPause ... PRINT "Should screens be saved to disk, ...
      (comp.lang.basic.misc)
    • Re: Declarations variables, Dim, some guidance please
      ... I have a sub called zRM_Values which is called at the begining of larger ... it's kinda a good thing for me that other macros ... > By preference, I try to declare only ... > You didn't get a duplicate Dim error because one variable was declared ...
      (microsoft.public.excel.programming)