+ Reply to Thread
Results 1 to 7 of 7

How do I add a macro to a custom menu?

Hybrid View

  1. #1
    MikeCyng
    Guest

    How do I add a macro to a custom menu?

    I can't find my macros in the customize/commands list

  2. #2
    Bob Phillips
    Guest

    Re: How do I add a macro to a custom menu?

    Where did you store them? They should be in a standard code module. If the
    module has Option Private Module at the head, the macros are declared as
    private, or they have arguments, you will not see them.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "MikeCyng" <MikeCyng@discussions.microsoft.com> wrote in message
    news:B01A9FAB-3AA3-4CB2-81AB-BFC9546F1767@microsoft.com...
    > I can't find my macros in the customize/commands list




  3. #3
    MikeCyng
    Guest

    Re: How do I add a macro to a custom menu?

    Thanks for your response Bob.

    They are in a module in the VB editor. I can't see 'Option Private' in the
    module and there are no argumants. I can assign the macro to a button but
    can't get them as items in a drop down menu.

    Cheers
    Mike

    "Bob Phillips" wrote:

    > Where did you store them? They should be in a standard code module. If the
    > module has Option Private Module at the head, the macros are declared as
    > private, or they have arguments, you will not see them.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "MikeCyng" <MikeCyng@discussions.microsoft.com> wrote in message
    > news:B01A9FAB-3AA3-4CB2-81AB-BFC9546F1767@microsoft.com...
    > > I can't find my macros in the customize/commands list

    >
    >
    >


  4. #4
    Bob Phillips
    Guest

    Re: How do I add a macro to a custom menu?

    Are you saying that you have added a dropdown tom a commandbar, and you want
    to add your macros to it?

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "MikeCyng" <MikeCyng@discussions.microsoft.com> wrote in message
    news:E62F62CE-62E1-4C69-9255-62CB4D42A014@microsoft.com...
    > Thanks for your response Bob.
    >
    > They are in a module in the VB editor. I can't see 'Option Private' in the
    > module and there are no argumants. I can assign the macro to a button but
    > can't get them as items in a drop down menu.
    >
    > Cheers
    > Mike
    >
    > "Bob Phillips" wrote:
    >
    > > Where did you store them? They should be in a standard code module. If

    the
    > > module has Option Private Module at the head, the macros are declared as
    > > private, or they have arguments, you will not see them.
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "MikeCyng" <MikeCyng@discussions.microsoft.com> wrote in message
    > > news:B01A9FAB-3AA3-4CB2-81AB-BFC9546F1767@microsoft.com...
    > > > I can't find my macros in the customize/commands list

    > >
    > >
    > >




  5. #5
    MikeCyng
    Guest

    Re: How do I add a macro to a custom menu?

    Yes, I've added a 'New Menu' to the toolbar and I want to add macros as items
    in the drop down menu.

    "Bob Phillips" wrote:

    > Are you saying that you have added a dropdown tom a commandbar, and you want
    > to add your macros to it?
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "MikeCyng" <MikeCyng@discussions.microsoft.com> wrote in message
    > news:E62F62CE-62E1-4C69-9255-62CB4D42A014@microsoft.com...
    > > Thanks for your response Bob.
    > >
    > > They are in a module in the VB editor. I can't see 'Option Private' in the
    > > module and there are no argumants. I can assign the macro to a button but
    > > can't get them as items in a drop down menu.
    > >
    > > Cheers
    > > Mike
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > Where did you store them? They should be in a standard code module. If

    > the
    > > > module has Option Private Module at the head, the macros are declared as
    > > > private, or they have arguments, you will not see them.
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "MikeCyng" <MikeCyng@discussions.microsoft.com> wrote in message
    > > > news:B01A9FAB-3AA3-4CB2-81AB-BFC9546F1767@microsoft.com...
    > > > > I can't find my macros in the customize/commands list
    > > >
    > > >
    > > >

    >
    >
    >


  6. #6
    MikeCyng
    Guest

    Re: How do I add a macro to a custom menu?

    I've finally managed to find a website which answers my question -
    http://www.aicpa.org/pubs/jofa/jul2001/lenning.htm
    I can see were i was going wrong now!

    Thanks for taking the trouble to reply.

    Cheers
    Mike

    "Bob Phillips" wrote:

    > Are you saying that you have added a dropdown tom a commandbar, and you want
    > to add your macros to it?
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "MikeCyng" <MikeCyng@discussions.microsoft.com> wrote in message
    > news:E62F62CE-62E1-4C69-9255-62CB4D42A014@microsoft.com...
    > > Thanks for your response Bob.
    > >
    > > They are in a module in the VB editor. I can't see 'Option Private' in the
    > > module and there are no argumants. I can assign the macro to a button but
    > > can't get them as items in a drop down menu.
    > >
    > > Cheers
    > > Mike
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > Where did you store them? They should be in a standard code module. If

    > the
    > > > module has Option Private Module at the head, the macros are declared as
    > > > private, or they have arguments, you will not see them.
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "MikeCyng" <MikeCyng@discussions.microsoft.com> wrote in message
    > > > news:B01A9FAB-3AA3-4CB2-81AB-BFC9546F1767@microsoft.com...
    > > > > I can't find my macros in the customize/commands list
    > > >
    > > >
    > > >

    >
    >
    >


  7. #7
    Dave Peterson
    Guest

    Re: How do I add a macro to a custom menu?

    I really like the way John Walkenbach does it in his menumaker workbook:
    http://j-walk.com/ss/excel/tips/tip53.htm

    MikeCyng wrote:
    >
    > I can't find my macros in the customize/commands list


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1