Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default delimiter between two columns

Hi all,

I have the following data format:

ItemName ItemNum

and I want to display only ItemName in my dropdown control and use ItemNum
as value. What is the delimiter between ItemName and ItemNum?

Clara

--
thank you so much for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default delimiter between two columns

Has nothing to do with delimiters. You have to use the BoundColumn and
TextColumn properties.

Here is what MS Help says:
When the user chooses a row in a multicolumn ListBox or ComboBox, the
BoundColumn property identifies which item from that row to store as the
value of the control. For example, if each row contains 8 items and
BoundColumn is 3, the system stores the information in the third column of
the currently-selected row as the value of the object.

You can display one set of data to users but store different, associated
values for the object by using the BoundColumn and the TextColumn
properties. TextColumn identifies the column of data displayed in text box
portion of a ComboBox and the value stored in the Text property; BoundColumn
identifies the column of associated data values stored for the control. For
example, you could set up a multicolumn ListBox that contains the names of
holidays in one column and dates for the holidays in a second column. To
present the holiday names to users, specify the first column as the
TextColumn. To store the dates of the holidays, specify the second column as
the BoundColumn. To hide the dates of the holidays, set the ColumnWidths
property of the sceond column to zero.

Joerg


"clara" wrote in message
...
Hi all,

I have the following data format:

ItemName ItemNum

and I want to display only ItemName in my dropdown control and use ItemNum
as value. What is the delimiter between ItemName and ItemNum?

Clara

--
thank you so much for your help



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
Split text into multiple columns using a common delimiter buffgirl71 Excel Discussion (Misc queries) 4 May 21st 23 07:43 PM
Convert file from column to columns using delimiter Gene Augustin Excel Discussion (Misc queries) 2 March 6th 09 08:24 PM
text to columns - break by delimiter mrl Excel Discussion (Misc queries) 4 April 17th 08 10:16 PM
delimiter hughie Excel Programming 2 December 21st 06 01:17 PM
removal of delimiter raja Excel Programming 4 September 21st 05 01:29 AM


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