Re: Adding the same content to multiple combo boxes
From: Chip Pearson (chip_at_cpearson.com)
Date: 06/10/04
- Next message: Tom: "Finding multiple values in excel, then sending as "mail merge""
- Previous message: morry: "Re: send value to a cell instead on MsgBox"
- In reply to: keaven: "Adding the same content to multiple combo boxes"
- Next in thread: Tom Ogilvy: "Re: Adding the same content to multiple combo boxes"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Jun 2004 14:04:31 -0500
Keaven,
Load up combobox 1, and then set the List property of each of the
other comboboxes to the List property of combobox 1.
-- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "keaven" <kfreeman@nas.edi> wrote in message news:1add801c44f19$b35b2c50$a401280a@phx.gbl... > Okay.. here's the deal, i have a user form in excel that > gathers information. In one section there is a series of > six combo boxes. What i have been trying to do is have > code in the UserForm_Initialize() sub that adds items to > the combo boxes. All six combo boxes need the same > information added to them. > > what i would like to do is something like: > for each X in (1,2,3,4,5,6) > with Me.ComboBoxX > .AddItem "a" > .AddItem "b" > end with > next > > trying to get it to go through all 6 boxes.. but this is > not working and i cant figure out how to get it to work > without reapeating the .AddItem list for each and every > box. is there a faster way to do it? > > -keaven >
- Next message: Tom: "Finding multiple values in excel, then sending as "mail merge""
- Previous message: morry: "Re: send value to a cell instead on MsgBox"
- In reply to: keaven: "Adding the same content to multiple combo boxes"
- Next in thread: Tom Ogilvy: "Re: Adding the same content to multiple combo boxes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|