#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Combo Boxes

How do I fill a combo box with a range from a different
worksheet, ie the data is in worksheet 3 range a1 to a3
and I want it to appear in a combo box on sheet 1 called
products

Thanks in advance

Nigel
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Combo Boxes

application.screenupdating = false
sheets("sheet1").select
activesheet.shapes("Combobox1").select
selection.listfillrange = "Sheets3!$a$1:$a$3"
range("a1").select
application.screenupdating = true

-----Original Message-----
How do I fill a combo box with a range from a different
worksheet, ie the data is in worksheet 3 range a1 to a3
and I want it to appear in a combo box on sheet 1 called
products

Thanks in advance

Nigel
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Combo Boxes

or
Worksheets("Sheet1").Combobox1.listfillrange _
= "Sheets3!a1:a3"

--
Regards,
Tom Ogilvy


"nathan" wrote in message
...
application.screenupdating = false
sheets("sheet1").select
activesheet.shapes("Combobox1").select
selection.listfillrange = "Sheets3!$a$1:$a$3"
range("a1").select
application.screenupdating = true

-----Original Message-----
How do I fill a combo box with a range from a different
worksheet, ie the data is in worksheet 3 range a1 to a3
and I want it to appear in a combo box on sheet 1 called
products

Thanks in advance

Nigel
.



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
Getting Combo boxes to change options based on other Combo boxes. Ancient Wolf New Users to Excel 1 March 27th 09 06:29 PM
Combo Boxes Auz Excel Discussion (Misc queries) 1 June 7th 07 12:19 PM
Selecting subsets using combo boxes or list boxes CLamar Excel Discussion (Misc queries) 0 June 1st 06 07:43 PM
Questions on combo boxes and list boxes. Marc New Users to Excel 1 March 14th 06 09:40 AM
List boxes/combo boxes Tibow Excel Programming 3 February 17th 04 12:35 PM


All times are GMT +1. The time now is 06:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"