PC Review


Reply
Thread Tools Rate Thread

combo box in toolbar

 
 
=?Utf-8?B?U21hbGx3ZWVk?=
Guest
Posts: n/a
 
      25th May 2007
Can this be done in version 20002 (XP)?
 
Reply With Quote
 
 
 
 
Andy Pope
Guest
Posts: n/a
 
      25th May 2007
Hi,

The help file on topic Controls provides an example.

Set myControl = CommandBars("Custom").Controls _
.Add(Type:=msoControlComboBox, Before:=1)
With myControl
.AddItem Text:="First Item", Index:=1
.AddItem Text:="Second Item", Index:=2
.DropDownLines = 3
.DropDownWidth = 75
.ListHeaderCount = 0
End With

Cheers
Andy

Smallweed wrote:
> Can this be done in version 20002 (XP)?

 
Reply With Quote
 
=?Utf-8?B?U21hbGx3ZWVk?=
Guest
Posts: n/a
 
      29th May 2007
Thanks Andy.

"Andy Pope" wrote:

> Hi,
>
> The help file on topic Controls provides an example.
>
> Set myControl = CommandBars("Custom").Controls _
> .Add(Type:=msoControlComboBox, Before:=1)
> With myControl
> .AddItem Text:="First Item", Index:=1
> .AddItem Text:="Second Item", Index:=2
> .DropDownLines = 3
> .DropDownWidth = 75
> .ListHeaderCount = 0
> End With
>
> Cheers
> Andy
>
> Smallweed wrote:
> > Can this be done in version 20002 (XP)?

>

 
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
Combo Box on Toolbar Massimo Microsoft Dot NET Framework Forms 2 2nd May 2005 08:46 AM
Combo box on Toolbar fldennis@gmail.com Microsoft Access Forms 1 5th Feb 2005 01:08 AM
How to add combo box into toolbar? any trick? Mat Microsoft VB .NET 2 15th Jul 2004 06:44 PM
toolbar with combo box piet Microsoft Access Forms 1 26th Mar 2004 09:18 PM
Combo Box on Toolbar I'm a Trampoline Microsoft Access 0 9th Feb 2004 05:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:51 PM.