Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 4th, 2005, 02:22 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default Populating Combo with values from Excel

Hi Experts,

I need some advice from you. I am using Excel for my VBA application. I have a list of cells containing a name/value pair. I want that to be populated into a combobox in one of the sheets. Can anyone put some light on how to achieve this task. I would like to get the code for the same.


Regards
Ganesh
__________________
Regards
Ganesh
http://ganeshprof.blogspot.com
Find your solution here...
 
Old February 4th, 2005, 04:33 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 168
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HI Ganesh

Name your area (name/value pair)
Add combobox to the sheet.
Set ListFillRange to named area.
Set ColumnCount 2 and BoundColumn 1
LinkedCell to any cell you want.

-vemaju

 
Old February 4th, 2005, 06:53 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

Thanx vemaju for your reply. It was very helpful

Regards
Ganesh





Similar Threads
Thread Thread Starter Forum Replies Last Post
just asp.net? or? values not populating in cb Tremmorkeep BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 7 September 3rd, 2007 12:17 PM
values in combo box Vince_421 Access VBA 8 May 10th, 2007 08:46 AM
Populating combo based on first one creative_eye PHP How-To 0 June 30th, 2006 10:30 AM
populating a dropdown list with values from datab akshay144 VS.NET 2002/2003 5 May 12th, 2006 10:15 AM
populating dropdown values rupen Classic ASP Basics 16 October 10th, 2005 09:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.