Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
case54321
 
Posts: n/a
Default Populate a combo Box


I have a combo box in cell B2 with options of "1" and "2"

I would like to put a combo box in cell B4 that would populate based on
the selection made in cell B2, whe

If B2="1", a cell range from sheet2, cells A1:A4 would populate the B4
combobox

If B2="2", a cell range from sheet2, cells B1:B4 would populate the B4
combobox

Is this possible with a function or a VB formula? Thanks!


--
case54321
------------------------------------------------------------------------
case54321's Profile: http://www.excelforum.com/member.php...o&userid=24287
View this thread: http://www.excelforum.com/showthread...hreadid=378959

  #2   Report Post  
olasa
 
Posts: n/a
Default


Define a name (Menu: InsertName...) and then use the offset function
Name: range
Formula: =OFFSET(Sheet9!$D$7:$D$9;0;Sheet9!$B$7-1)

Also see encl. zip-file:
http://www.excelforum.com/attachment...tid=3494&stc=1

Hope it helped
Ola Sandström


+-------------------------------------------------------------------+
|Filename: Book4.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3494 |
+-------------------------------------------------------------------+

--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=378959

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
Dynamic Combo Box benjarfer Excel Worksheet Functions 2 April 8th 05 02:17 PM
connecting combo boxes to yield data in another cell. TxN8tv Excel Discussion (Misc queries) 0 March 14th 05 04:07 PM
dynamic combo boxes tjb Excel Worksheet Functions 2 January 25th 05 07:33 PM
Populate embedded combo box Jahunga Excel Worksheet Functions 2 November 28th 04 11:26 PM
Populate embedded combo box Jahunga Excel Worksheet Functions 0 November 18th 04 10:17 AM


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