Excel/Excel Variable Ranges
Expert: Gyula Gulyas - 9/7/2007
QuestionHi, I was wondering if it is possible to use a combo box in excel with a variable range somehow. For example, I want my combo box to display all values in column B, and say i have 2 records currently in column B. Now i would like to add another record to column B, and have the combo box update to allow for the new record i added. Is this possible using a named range?
I'm new to excel and Vba, and have been experimenting for the past few days, but i cant seem to find any information about using variable ranges within a combo box.
Thank you so much for your help.
AnswerHi you don't need VBA. Try something called Dynamic Named Range (it expands as you add data). It is nothing special, it is just a smart way of using Excel's formulae.
Google "Excel dynamic named range". There are many sites.
Also see:
http://www.ozgrid.com/Excel/DynamicRanges.htm
HTH,
Gyula
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your
Excel question answered in this area then please ask an Excel question here