PC Review


Reply
Thread Tools Rate Thread

Adding Items at runtime in the Ribbon ComboBox

 
 
Markus Ohnmacht
Guest
Posts: n/a
 
      16th Dec 2008
Hello Guys,

I have a simple ComboBox in my ExcelSheet.
When I open the Workbook, a macro runs and load all installed printers in my
ComboBox.

Now i want to replace all buttons and my ComboBox with a new Ribbon Toolbar.
I have implemented a ComboBox in the new Ribbon Group.

How can I run my macro, to read all installed printers and add them to the
ComboBox (Ribbon) when I open my Workbook?


Thanks a lot

cya
Markus


 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      16th Dec 2008
Hi Markus

I have add a example for a dropdown to my site yesterday
It fill the dropdown with cell values but you can also do what you want

Go to
http://www.rondebruin.nl/ribbon.htm

See section 2

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Markus Ohnmacht" <(E-Mail Removed)> wrote in message
news:0E548A8C-FAB3-444E-8036-(E-Mail Removed)...
> Hello Guys,
>
> I have a simple ComboBox in my ExcelSheet.
> When I open the Workbook, a macro runs and load all installed printers in my
> ComboBox.
>
> Now i want to replace all buttons and my ComboBox with a new Ribbon Toolbar.
> I have implemented a ComboBox in the new Ribbon Group.
>
> How can I run my macro, to read all installed printers and add them to the
> ComboBox (Ribbon) when I open my Workbook?
>
>
> Thanks a lot
>
> cya
> Markus
>
>


 
Reply With Quote
 
Markus Ohnmacht
Guest
Posts: n/a
 
      22nd Dec 2008
Hi Ron,

I downloaded your example files but I can't find the example with the
dropdown.
It must be a ComboBox like the Font-Setting Box. You can change to Arial or
Calibri. And I need the same but the items in it must be added from the macro.

Thanks,
Markus

"Ron de Bruin" wrote:

> Hi Markus
>
> I have add a example for a dropdown to my site yesterday
> It fill the dropdown with cell values but you can also do what you want
>
> Go to
> http://www.rondebruin.nl/ribbon.htm
>
> See section 2
>
> --
>
> Regards Ron de Bruin
> http://www.rondebruin.nl/tips.htm
>
>
> "Markus Ohnmacht" <(E-Mail Removed)> wrote in message
> news:0E548A8C-FAB3-444E-8036-(E-Mail Removed)...
> > Hello Guys,
> >
> > I have a simple ComboBox in my ExcelSheet.
> > When I open the Workbook, a macro runs and load all installed printers in my
> > ComboBox.
> >
> > Now i want to replace all buttons and my ComboBox with a new Ribbon Toolbar.
> > I have implemented a ComboBox in the new Ribbon Group.
> >
> > How can I run my macro, to read all installed printers and add them to the
> > ComboBox (Ribbon) when I open my Workbook?
> >
> >
> > Thanks a lot
> >
> > cya
> > Markus
> >
> >

>
>

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      22nd Dec 2008
Hi Markus

In section 2 on that page

Below the first two downloads (xml and excel files) you see this
Change the Ribbon with RibbonX and VBA code (Example workbooks)

Example 2 is a dropdown example

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Markus Ohnmacht" <(E-Mail Removed)> wrote in message
news:EEFD1D4D-C579-4902-9CC4-(E-Mail Removed)...
> Hi Ron,
>
> I downloaded your example files but I can't find the example with the
> dropdown.
> It must be a ComboBox like the Font-Setting Box. You can change to Arial or
> Calibri. And I need the same but the items in it must be added from the macro.
>
> Thanks,
> Markus
>
> "Ron de Bruin" wrote:
>
>> Hi Markus
>>
>> I have add a example for a dropdown to my site yesterday
>> It fill the dropdown with cell values but you can also do what you want
>>
>> Go to
>> http://www.rondebruin.nl/ribbon.htm
>>
>> See section 2
>>
>> --
>>
>> Regards Ron de Bruin
>> http://www.rondebruin.nl/tips.htm
>>
>>
>> "Markus Ohnmacht" <(E-Mail Removed)> wrote in message
>> news:0E548A8C-FAB3-444E-8036-(E-Mail Removed)...
>> > Hello Guys,
>> >
>> > I have a simple ComboBox in my ExcelSheet.
>> > When I open the Workbook, a macro runs and load all installed printers in my
>> > ComboBox.
>> >
>> > Now i want to replace all buttons and my ComboBox with a new Ribbon Toolbar.
>> > I have implemented a ComboBox in the new Ribbon Group.
>> >
>> > How can I run my macro, to read all installed printers and add them to the
>> > ComboBox (Ribbon) when I open my Workbook?
>> >
>> >
>> > Thanks a lot
>> >
>> > cya
>> > Markus
>> >
>> >

>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding items to ComboBox in a loop? cmpcwil2 Microsoft Excel Programming 3 4th May 2006 10:31 AM
Adding items to a ComboBox =?Utf-8?B?QWxleCBDLiBCYXJiZXJp?= Microsoft Dot NET Framework 2 22nd Feb 2006 05:26 PM
Adding Items to Combobox =?Utf-8?B?UmljaGFyZCBNU0w=?= Microsoft C# .NET 1 3rd Jul 2005 12:25 AM
Adding Items to the combobox from the second form =?Utf-8?B?UmFnaGF2ZW5kcmEgTXVkdWdhbA==?= Microsoft C# .NET 3 11th May 2005 09:54 AM
RE: Adding strings (items) into combobox =?Utf-8?B?RG1pdHJ5IE1ha3NpbW92?= Microsoft VC .NET 0 13th May 2004 10:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:40 AM.