Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Assigning numeric value to text in drop-down menu

What you are describing is a 2 column combobox. Create the combobox and in
its properties set the columncount to 2. If you want to hide the numeric
values from your users set its column's width to zero. To refer to the
selected value from code it is Combobox1.Column(0) for the first column,
Combobox1.Column(1) for the second column.
--
- K Dales


" wrote:

I am trying to create a drop-down list of materials and would like to
assign different numeric values to each material,which will be used in
calculations i.e. Under drop-down list of Materials, Wood=1, Steel=2,
etc.
Please help!!

-Aarthi


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
drop down menu that allows for text to be entered s.bryan Excel Discussion (Misc queries) 5 February 23rd 09 07:30 PM
Counting Text from Drop-down menu Em Excel Worksheet Functions 4 January 20th 09 03:46 PM
drop down list and adding numeric values to text Jill Excel Discussion (Misc queries) 2 October 6th 06 11:06 PM
Assigning text values to numeric fields ab565 Excel Discussion (Misc queries) 1 August 11th 05 10:49 PM
assigning macros to a text link or create a drop down box arizona302 Excel Programming 1 February 26th 04 01:59 PM


All times are GMT +1. The time now is 11:44 PM.

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"