PC Review


Reply
Thread Tools Rate Thread

Active X combo box help

 
 
alexdetrano@gmail.com
Guest
Posts: n/a
 
      25th Apr 2007
Hi there

I'm trying to use an activex combobox to display a list of data and
have it so that when a user picks on one, say BASIC it updates a
certain range of cells (say B82:B86) with values that I have defined
in a macro called basic. If they pick INCREASED it will update those
same cells except with numbers a little higher, which I have defined
in a macro called increased. I got a normal combo box working, but it
is too large and ugly and obtrusive so I figured if I took my hand at
an activex box I could keep my sheet looking pretty. Any help would
be greatly appreciated.

Thank you,
Alexander

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SGFsaW0=?=
Guest
Posts: n/a
 
      25th Apr 2007
Hi,

Do you wish to use an XP look combobox?
I think your idea is right because MSForms class doesnt supply an XP look
controls
unless you use ActiveX controls... by using Xmlschemas manifest for Excel.exe
--

Regards,

Halim


"(E-Mail Removed)" wrote:

> Hi there
>
> I'm trying to use an activex combobox to display a list of data and
> have it so that when a user picks on one, say BASIC it updates a
> certain range of cells (say B82:B86) with values that I have defined
> in a macro called basic. If they pick INCREASED it will update those
> same cells except with numbers a little higher, which I have defined
> in a macro called increased. I got a normal combo box working, but it
> is too large and ugly and obtrusive so I figured if I took my hand at
> an activex box I could keep my sheet looking pretty. Any help would
> be greatly appreciated.
>
> Thank you,
> Alexander
>
>

 
Reply With Quote
 
alexdetrano@gmail.com
Guest
Posts: n/a
 
      26th Apr 2007
On Apr 24, 9:46 pm, Halim <H...@discussions.microsoft.com> wrote:
> Hi,
>
> Do you wish to use an XP look combobox?
> I think your idea is right because MSForms class doesnt supply an XP look
> controls
> unless you use ActiveX controls... by using Xmlschemas manifest for Excel.exe
> --
>
> Regards,
>
> Halim
>
> "alexdetr...@gmail.com" wrote:
> > Hi there

>
> > I'm trying to use an activex combobox to display a list of data and
> > have it so that when a user picks on one, say BASIC it updates a
> > certain range of cells (say B82:B86) with values that I have defined
> > in a macro called basic. If they pick INCREASED it will update those
> > same cells except with numbers a little higher, which I have defined
> > in a macro called increased. I got a normalcomboboxworking, but it
> > is too large and ugly and obtrusive so I figured if I took my hand at
> > an activexboxI could keep my sheet looking pretty. Any help would
> > be greatly appreciated.

>
> > Thank you,
> > Alexander


Hi

I do not want the XP look, as I already have a box that looks like
that (i.e. with the big red x close button and the ability the move) I
want the kind where you go to view, control toolbox, and then click
combo box.

 
Reply With Quote
 
David G
Guest
Posts: n/a
 
      26th Apr 2007
On Apr 26, 8:51 am, alexdetr...@gmail.com wrote:
> On Apr 24, 9:46 pm, Halim <H...@discussions.microsoft.com> wrote:
>
>
>
> > Hi,

>
> > Do you wish to use an XP look combobox?
> > I think your idea is right because MSForms class doesnt supply an XP look
> > controls
> > unless you use ActiveX controls... by using Xmlschemas manifest for Excel.exe
> > --

>
> > Regards,

>
> > Halim

>
> > "alexdetr...@gmail.com" wrote:
> > > Hi there

>
> > > I'm trying to use an activex combobox to display a list of data and
> > > have it so that when a user picks on one, say BASIC it updates a
> > > certain range of cells (say B82:B86) with values that I have defined
> > > in a macro called basic. If they pick INCREASED it will update those
> > > same cells except with numbers a little higher, which I have defined
> > > in a macro called increased. I got a normalcomboboxworking, but it
> > > is too large and ugly and obtrusive so I figured if I took my hand at
> > > an activexboxI could keep my sheet looking pretty. Any help would
> > > be greatly appreciated.

>
> > > Thank you,
> > > Alexander

>
> Hi
>
> I do not want the XP look, as I already have a box that looks like
> that (i.e. with the big red x close button and the ability the move) I
> want the kind where you go to view, control toolbox, and then click
> combo box.


Whats the problem with just using the combo-box from the control
toolbox?

David

 
Reply With Quote
 
alexdetrano@gmail.com
Guest
Posts: n/a
 
      27th Apr 2007
On Apr 26, 3:34 pm, David G <goot...@gmail.com> wrote:
> On Apr 26, 8:51 am, alexdetr...@gmail.com wrote:
>
>
>
> > On Apr 24, 9:46 pm, Halim <H...@discussions.microsoft.com> wrote:

>
> > > Hi,

>
> > > Do you wish to use an XP look combobox?
> > > I think your idea is right because MSForms class doesnt supply an XP look
> > > controls
> > > unless you use ActiveX controls... by using Xmlschemas manifest for Excel.exe
> > > --

>
> > > Regards,

>
> > > Halim

>
> > > "alexdetr...@gmail.com" wrote:
> > > > Hi there

>
> > > > I'm trying to use an activex combobox to display a list of data and
> > > > have it so that when a user picks on one, say BASIC it updates a
> > > > certain range of cells (say B82:B86) with values that I have defined
> > > > in a macro called basic. If they pick INCREASED it will update those
> > > > same cells except with numbers a little higher, which I have defined
> > > > in a macro called increased. I got a normalcomboboxworking, but it
> > > > is too large and ugly and obtrusive so I figured if I took my hand at
> > > > an activexboxI could keep my sheet looking pretty. Any help would
> > > > be greatly appreciated.

>
> > > > Thank you,
> > > > Alexander

>
> > Hi

>
> > I do not want the XP look, as I already have aboxthat looks like
> > that (i.e. with the big redxclose button and the ability the move) I
> > want the kind where you go to view, control toolbox, and then click
> >combobox.

>
> Whats the problem with just using thecombo-boxfrom the control
> toolbox?
>
> David


I want to use the one from the control tool box. I just don't know
how to get the code to drive it to do what I want to do, such as a
launch a macro when a certain case is clicked.

 
Reply With Quote
 
David G
Guest
Posts: n/a
 
      28th Apr 2007
On Apr 26, 9:15 pm, alexdetr...@gmail.com wrote:
> On Apr 26, 3:34 pm, David G <goot...@gmail.com> wrote:
>
>
>
> > On Apr 26, 8:51 am, alexdetr...@gmail.com wrote:

>
> > > On Apr 24, 9:46 pm, Halim <H...@discussions.microsoft.com> wrote:

>
> > > > Hi,

>
> > > > Do you wish to use an XP look combobox?
> > > > I think your idea is right because MSForms class doesnt supply an XP look
> > > > controls
> > > > unless you use ActiveX controls... by using Xmlschemas manifest for Excel.exe
> > > > --

>
> > > > Regards,

>
> > > > Halim

>
> > > > "alexdetr...@gmail.com" wrote:
> > > > > Hi there

>
> > > > > I'm trying to use an activex combobox to display a list of data and
> > > > > have it so that when a user picks on one, say BASIC it updates a
> > > > > certain range of cells (say B82:B86) with values that I have defined
> > > > > in a macro called basic. If they pick INCREASED it will update those
> > > > > same cells except with numbers a little higher, which I have defined
> > > > > in a macro called increased. I got a normalcomboboxworking, but it
> > > > > is too large and ugly and obtrusive so I figured if I took my hand at
> > > > > an activexboxI could keep my sheet looking pretty. Any help would
> > > > > be greatly appreciated.

>
> > > > > Thank you,
> > > > > Alexander

>
> > > Hi

>
> > > I do not want the XP look, as I already have aboxthat looks like
> > > that (i.e. with the big redxclose button and the ability the move) I
> > > want the kind where you go to view, control toolbox, and then click
> > >combobox.

>
> > Whats the problem with just using thecombo-boxfrom the control
> > toolbox?

>
> > David

>
> I want to use the one from the control tool box. I just don't know
> how to get the code to drive it to do what I want to do, such as a
> launch a macro when a certain case is clicked.


After you create the button (using the control toolbox), double
clicking the button (while in Design mode) will automatically create a
VBA event-handler for the Click action. You can get your macro to
execute from there.

Cheers,
David

 
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
Active X Control - Combo Box jday Microsoft Excel Programming 0 3rd Jun 2009 03:58 PM
Active X combo box help alexdetrano@gmail.com Microsoft Excel Programming 0 24th Apr 2007 10:01 PM
Help with active X combo box Mark Stephens Microsoft Excel Programming 1 14th Jun 2005 12:56 PM
how do i set up a active combo box in outlook =?Utf-8?B?Q291cnRuZXk=?= Microsoft Outlook Form Programming 1 2nd Apr 2005 04:08 PM
Active x combo box and linking Aversin Microsoft Excel Misc 1 17th Aug 2004 08:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:52 PM.