+ Reply to Thread
Results 1 to 4 of 4

Macro Code required..........?

  1. #1
    Thyagaraj
    Guest

    Macro Code required..........?

    Dear Friends,

    I need the macro code to get a ListBox or ComboBox when ever Excel
    Application is started and to close the same ListBox or ComboBox When
    ever the excel application is closed.

    If possible I need the code to create a button on that ListBox or
    ComboBox and assign a macro to that button.



    Thanks in Advance

    Thyagaraj Shetty


  2. #2
    Jim Thomlinson
    Guest

    RE: Macro Code required..........?

    While that is possible to do, it is not simple code to write or understand.
    You need to create an add in containing a class to handle the events and an
    understanding of forms. If you are comfortable with all of that then reply
    back and I can help get you started...
    --
    HTH...

    Jim Thomlinson


    "Thyagaraj" wrote:

    > Dear Friends,
    >
    > I need the macro code to get a ListBox or ComboBox when ever Excel
    > Application is started and to close the same ListBox or ComboBox When
    > ever the excel application is closed.
    >
    > If possible I need the code to create a button on that ListBox or
    > ComboBox and assign a macro to that button.
    >
    >
    >
    > Thanks in Advance
    >
    > Thyagaraj Shetty
    >
    >


  3. #3
    Thyagaraj
    Guest

    Re: Macro Code required..........?


    Jim Thomlinson wrote:

    > While that is possible to do, it is not simple code to write or understand.
    > You need to create an add in containing a class to handle the events and an
    > understanding of forms. If you are comfortable with all of that then reply
    > back and I can help get you started...
    > --
    > HTH...
    >
    > Jim Thomlinson
    >
    >
    > "Thyagaraj" wrote:
    >
    > > Dear Friends,
    > >
    > > I need the macro code to get a ListBox or ComboBox when ever Excel
    > > Application is started and to close the same ListBox or ComboBox When
    > > ever the excel application is closed.
    > >
    > > If possible I need the code to create a button on that ListBox or
    > > ComboBox and assign a macro to that button.
    > >
    > >
    > >
    > > Thanks in Advance
    > >
    > > Thyagaraj Shetty
    > >
    > >

    I Am very much Comfortable with all these but I Want the Code to Place
    the ListBox or ComboBox on the ToolBar of Excel Application.

    Please Hep.


    Regards
    Thyagaraj


  4. #4
    Jim Thomlinson
    Guest

    Re: Macro Code required..........?

    Sub test2()
    Dim cmd As CommandBarComboBox

    Set cmd = Application.CommandBars("Worksheet Menu
    Bar").Controls.Add(msoControlComboBox)

    End Sub
    --
    HTH...

    Jim Thomlinson


    "Thyagaraj" wrote:

    >
    > Jim Thomlinson wrote:
    >
    > > While that is possible to do, it is not simple code to write or understand.
    > > You need to create an add in containing a class to handle the events and an
    > > understanding of forms. If you are comfortable with all of that then reply
    > > back and I can help get you started...
    > > --
    > > HTH...
    > >
    > > Jim Thomlinson
    > >
    > >
    > > "Thyagaraj" wrote:
    > >
    > > > Dear Friends,
    > > >
    > > > I need the macro code to get a ListBox or ComboBox when ever Excel
    > > > Application is started and to close the same ListBox or ComboBox When
    > > > ever the excel application is closed.
    > > >
    > > > If possible I need the code to create a button on that ListBox or
    > > > ComboBox and assign a macro to that button.
    > > >
    > > >
    > > >
    > > > Thanks in Advance
    > > >
    > > > Thyagaraj Shetty
    > > >
    > > >

    > I Am very much Comfortable with all these but I Want the Code to Place
    > the ListBox or ComboBox on the ToolBar of Excel Application.
    >
    > Please Hep.
    >
    >
    > Regards
    > Thyagaraj
    >
    >


+ 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