Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changes Required In Macro Code TGV Excel Discussion (Misc queries) 2 February 10th 09 05:53 PM
Another VB Code Required TGV Excel Discussion (Misc queries) 7 February 7th 09 07:21 AM
Macro Code Required - Pls Help TGV Excel Discussion (Misc queries) 2 February 5th 09 12:44 PM
macro code required muddan madhu Excel Worksheet Functions 2 April 28th 08 03:43 PM
Macro Code required muddan madhu Excel Discussion (Misc queries) 1 April 26th 08 02:21 PM


All times are GMT +1. The time now is 05:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"