Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Populate multiple comboboxes with same lists

Hi everyone,

I'm definately not an expert at this stuff so your help would be
greatly appreciated.

I'm creating a scheduling sheet that has several hundred comboboxes
populated with three choices: "Assigned", "Unnassigned" and
"Completed". I also have the background color change depending on the
choice. The only way I can figure to do this is to manually create
the code for each combobox and it's proving far too much work with
this many fields.

Could someone post some code I could try that uses a loop or array or
something? It's been several years since I've done any programming
and I just don't have the time to figure it all out again!

Thanks in advance!

Regards,

Sean M.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Populate multiple comboboxes with same lists

Hi Sean,

Try this

Sub SeupDropDown()
Dim dd As DropDown

For Each dd In ActiveSheet.DropDowns
dd.ListFillRange = "A1:A3"
dd.LinkedCell = "B1"
Next dd

End Sub

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Sean M." wrote in message
om...
Hi everyone,

I'm definately not an expert at this stuff so your help would be
greatly appreciated.

I'm creating a scheduling sheet that has several hundred comboboxes
populated with three choices: "Assigned", "Unnassigned" and
"Completed". I also have the background color change depending on the
choice. The only way I can figure to do this is to manually create
the code for each combobox and it's proving far too much work with
this many fields.

Could someone post some code I could try that uses a loop or array or
something? It's been several years since I've done any programming
and I just don't have the time to figure it all out again!

Thanks in advance!

Regards,

Sean M.



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
auto populate masterlist from 3 other lists Harold Good Excel Worksheet Functions 1 May 24th 09 01:34 AM
Auto populate a cell by comparing lists Ken[_2_] Excel Worksheet Functions 2 July 13th 08 06:24 PM
drop down lists that populate other cells [email protected] Excel Discussion (Misc queries) 2 November 11th 07 06:06 PM
Populate lists automatically New2XL Excel Discussion (Misc queries) 5 September 22nd 06 10:08 AM
Multiple ComboBoxes and TextBoxes on Userform Rich J Excel Programming 6 January 27th 04 07:51 PM


All times are GMT +1. The time now is 10:19 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"