Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default linking text box with seperate combo box list

I have a combo box with 7 items to choose from a named
range - Range1, once 1 has been selected how do I place a
value in a seperate text box from another named range -
Range2

I.e. Range1 consists of 7 items A1 to A7 and Range2 is in
B1 to B7, if value in A4 is selceted from combo box I want
B4 to show in text box and so on...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default linking text box with seperate combo box list

Private Sub Combobox1_Click()
Dim Range2 as Range
set Range2 = Range1.Offset(0,1)
Textbox1.Text = Range2(Combobox1.ListIndex+1)
End Sub


--
Regards,
Tom Ogilvy




"mikey_may" wrote in message
...
I have a combo box with 7 items to choose from a named
range - Range1, once 1 has been selected how do I place a
value in a seperate text box from another named range -
Range2

I.e. Range1 consists of 7 items A1 to A7 and Range2 is in
B1 to B7, if value in A4 is selceted from combo box I want
B4 to show in text box and so on



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
Linking data from Rows to columns in seperate worksheets davidge Excel Worksheet Functions 1 August 11th 07 10:37 PM
linking a form combo box... results from the combo box to another Trey Excel Discussion (Misc queries) 1 July 15th 07 01:58 AM
Linking formulas from seperate workbook Andy@cmk Excel Worksheet Functions 1 February 21st 07 04:57 PM
How- seperate a combined list by filtering out first list of names Briana Excel Worksheet Functions 1 March 21st 06 03:16 PM
Linking Cells from seperate spreadsheets [email protected] Excel Worksheet Functions 3 February 15th 06 02:13 AM


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